1
0
mirror of https://gitee.com/koogua/course-tencent-cloud.git synced 2025-06-26 20:52:44 +08:00

修复数据迁移中无符号整型问题

This commit is contained in:
xiaochong0302 2021-01-02 16:51:47 +08:00
parent ce86bc49a7
commit 94affaddf6
10 changed files with 16928 additions and 347 deletions

1
.gitignore vendored
View File

@ -6,7 +6,6 @@
/config/xs.user.ini /config/xs.user.ini
/config/alipay/*.crt /config/alipay/*.crt
/config/wxpay/*.pem /config/wxpay/*.pem
/db/migrations/schema.php
/public/robots.txt /public/robots.txt
/public/sitemap.xml /public/sitemap.xml
/public/h5 /public/h5

View File

@ -24,7 +24,7 @@
"overtrue/wechat": "^4.2" "overtrue/wechat": "^4.2"
}, },
"require-dev": { "require-dev": {
"odan/phinx-migrations-generator": "^5.1", "odan/phinx-migrations-generator": "^5.3",
"phalcon/ide-stubs": "^3.4" "phalcon/ide-stubs": "^3.4"
}, },
"repositories": { "repositories": {

677
composer.lock generated
View File

@ -4,7 +4,7 @@
"Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies", "Read more about it at https://getcomposer.org/doc/01-basic-usage.md#installing-dependencies",
"This file is @generated automatically" "This file is @generated automatically"
], ],
"content-hash": "60ff0e1868be7414a1b31d397ced7fbd", "content-hash": "09a618cffed2c4cfb593c0a791c19b3f",
"packages": [ "packages": [
{ {
"name": "aferrandini/phpqrcode", "name": "aferrandini/phpqrcode",
@ -15,16 +15,16 @@
"reference": "3c1c0454d43710ab5bbe19a51ad4cb41c22e3d46" "reference": "3c1c0454d43710ab5bbe19a51ad4cb41c22e3d46"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/aferrandini/PHPQRCode/zipball/3c1c0454d43710ab5bbe19a51ad4cb41c22e3d46", "url": "https://api.github.com/repos/aferrandini/PHPQRCode/zipball/3c1c0454d43710ab5bbe19a51ad4cb41c22e3d46",
"reference": "3c1c0454d43710ab5bbe19a51ad4cb41c22e3d46", "reference": "3c1c0454d43710ab5bbe19a51ad4cb41c22e3d46",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true "preferred": true
} }
] ]
}, },
"require": { "require": {
"php": ">=5.3.0" "php": ">=5.3.0"
@ -46,16 +46,16 @@
"homepage": "http://www.ferrandini.com/", "homepage": "http://www.ferrandini.com/",
"role": "Developer" "role": "Developer"
} }
], ],
"description": "PHPQRCode porting and changed for PHP 5.3 compatibility", "description": "PHPQRCode porting and changed for PHP 5.3 compatibility",
"homepage": "https://github.com/aferrandini/PHPQRCode", "homepage": "https://github.com/aferrandini/PHPQRCode",
"keywords": [ "keywords": [
"barcode", "barcode",
"php", "php",
"qrcode" "qrcode"
], ],
"abandoned": "endroid/qr-code", "abandoned": "endroid/qr-code",
"time": "2013-07-08T09:39:08+00:00" "time": "2013-07-08T09:39:08+00:00"
}, },
{ {
"name": "cakephp/core", "name": "cakephp/core",
@ -334,16 +334,16 @@
"email": "guilhermeblanco@gmail.com" "email": "guilhermeblanco@gmail.com"
}, },
{ {
"name": "Roman Borschel", "name": "Roman Borschel",
"email": "roman@code-factory.org" "email": "roman@code-factory.org"
}, },
{ {
"name": "Johannes Schmitt", "name": "Johannes Schmitt",
"email": "schmittjoh@gmail.com" "email": "schmittjoh@gmail.com"
} }
], ],
"description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.", "description": "PHP Doctrine Lexer parser library that can be used in Top-Down, Recursive Descent Parsers.",
"homepage": "https://www.doctrine-project.org/projects/lexer.html", "homepage": "https://www.doctrine-project.org/projects/lexer.html",
"keywords": [ "keywords": [
"annotations", "annotations",
"docblock", "docblock",
@ -418,16 +418,16 @@
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/egulias/EmailValidator/zipball/92dd169c32f6f55ba570c309d83f5209cefb5e23", "url": "https://api.github.com/repos/egulias/EmailValidator/zipball/92dd169c32f6f55ba570c309d83f5209cefb5e23",
"reference": "92dd169c32f6f55ba570c309d83f5209cefb5e23", "reference": "92dd169c32f6f55ba570c309d83f5209cefb5e23",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true "preferred": true
} }
] ]
}, },
"require": { "require": {
"doctrine/lexer": "^1.0.1", "doctrine/lexer": "^1.0.1",
"php": ">= 5.5" "php": ">= 5.5"
}, },
@ -1066,16 +1066,16 @@
} }
}, },
"notification-url": "https://packagist.org/downloads/", "notification-url": "https://packagist.org/downloads/",
"license": [ "license": [
"MIT" "MIT"
], ],
"authors": [ "authors": [
{ {
"name": "Michael Dowling", "name": "Michael Dowling",
"email": "mtdowling@gmail.com", "email": "mtdowling@gmail.com",
"homepage": "https://github.com/mtdowling" "homepage": "https://github.com/mtdowling"
} }
], ],
"description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due", "description": "CRON for PHP: Calculate the next or previous run date and determine if a CRON expression is due",
"keywords": [ "keywords": [
"cron", "cron",
@ -1242,16 +1242,16 @@
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", "url": "https://api.github.com/repos/paragonie/random_compat/zipball/84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95",
"reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95", "reference": "84b4dfb120c6f9b4ff7b3685f9b8f1aa365a0c95",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true "preferred": true
} }
] ]
}, },
"require": { "require": {
"php": "^7" "php": "^7"
}, },
"require-dev": { "require-dev": {
@ -1399,15 +1399,15 @@
"BSD-3-Clause" "BSD-3-Clause"
], ],
"authors": [ "authors": [
{ {
"name": "Phalcon Team", "name": "Phalcon Team",
"email": "team@phalconphp.com", "email": "team@phalconphp.com",
"homepage": "https://phalconphp.com/en/team" "homepage": "https://phalconphp.com/en/team"
}, },
{ {
"name": "Contributors", "name": "Contributors",
"homepage": "https://github.com/phalcon/incubator/graphs/contributors" "homepage": "https://github.com/phalcon/incubator/graphs/contributors"
} }
], ],
"description": "Adapters, prototypes or functionality that can be potentially incorporated to the C-framework.", "description": "Adapters, prototypes or functionality that can be potentially incorporated to the C-framework.",
"homepage": "https://phalconphp.com", "homepage": "https://phalconphp.com",
@ -1488,16 +1488,16 @@
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8", "url": "https://api.github.com/repos/php-fig/cache/zipball/d11b50ad223250cf17b86e38383413f5a6764bf8",
"reference": "d11b50ad223250cf17b86e38383413f5a6764bf8", "reference": "d11b50ad223250cf17b86e38383413f5a6764bf8",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true "preferred": true
} }
] ]
}, },
"require": { "require": {
"php": ">=5.3.0" "php": ">=5.3.0"
}, },
"type": "library", "type": "library",
@ -1707,16 +1707,16 @@
"reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b", "reference": "408d5eafb83c57f6365a3ca330ff23aa4a5fa39b",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true "preferred": true
} }
] ]
}, },
"require": { "require": {
"php": ">=5.3.0" "php": ">=5.3.0"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.0.x-dev" "dev-master": "1.0.x-dev"
@ -1738,14 +1738,14 @@
} }
], ],
"description": "Common interfaces for simple caching", "description": "Common interfaces for simple caching",
"keywords": [ "keywords": [
"cache", "cache",
"caching", "caching",
"psr", "psr",
"psr-16", "psr-16",
"simple-cache" "simple-cache"
], ],
"time": "2017-10-23T01:57:42+00:00" "time": "2017-10-23T01:57:42+00:00"
}, },
{ {
"name": "qcloud/cos-sdk-v5", "name": "qcloud/cos-sdk-v5",
@ -2026,15 +2026,15 @@
"license": [ "license": [
"MIT" "MIT"
], ],
"authors": [ "authors": [
{ {
"name": "Chris Corbyn" "name": "Chris Corbyn"
}, },
{ {
"name": "Fabien Potencier", "name": "Fabien Potencier",
"email": "fabien@symfony.com" "email": "fabien@symfony.com"
} }
], ],
"description": "Swiftmailer, free feature-rich PHP mailer", "description": "Swiftmailer, free feature-rich PHP mailer",
"homepage": "https://swiftmailer.symfony.com", "homepage": "https://swiftmailer.symfony.com",
"keywords": [ "keywords": [
@ -2241,16 +2241,16 @@
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/config/zipball/cf63f0613a6c6918e96db39c07a43b01e19a0773", "url": "https://api.github.com/repos/symfony/config/zipball/cf63f0613a6c6918e96db39c07a43b01e19a0773",
"reference": "cf63f0613a6c6918e96db39c07a43b01e19a0773", "reference": "cf63f0613a6c6918e96db39c07a43b01e19a0773",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true "preferred": true
} }
] ]
}, },
"require": { "require": {
"php": ">=7.2.5", "php": ">=7.2.5",
"symfony/deprecation-contracts": "^2.1", "symfony/deprecation-contracts": "^2.1",
"symfony/filesystem": "^4.4|^5.0", "symfony/filesystem": "^4.4|^5.0",
@ -2403,15 +2403,15 @@
"type": "custom" "type": "custom"
}, },
{ {
"url": "https://github.com/fabpot", "url": "https://github.com/fabpot",
"type": "github" "type": "github"
}, },
{ {
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-07-06T13:18:39+00:00" "time": "2020-07-06T13:18:39+00:00"
}, },
{ {
"name": "symfony/deprecation-contracts", "name": "symfony/deprecation-contracts",
@ -2433,16 +2433,16 @@
} }
] ]
}, },
"require": { "require": {
"php": ">=7.1" "php": ">=7.1"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.2-dev" "dev-master": "2.2-dev"
}, },
"thanks": { "thanks": {
"name": "symfony/contracts", "name": "symfony/contracts",
"url": "https://github.com/symfony/contracts" "url": "https://github.com/symfony/contracts"
} }
}, },
@ -2473,16 +2473,16 @@
"type": "custom" "type": "custom"
}, },
{ {
"url": "https://github.com/fabpot", "url": "https://github.com/fabpot",
"type": "github" "type": "github"
}, },
{ {
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-09-07T11:33:47+00:00" "time": "2020-09-07T11:33:47+00:00"
}, },
{ {
"name": "symfony/event-dispatcher", "name": "symfony/event-dispatcher",
"version": "v4.4.17", "version": "v4.4.17",
@ -2503,16 +2503,16 @@
} }
] ]
}, },
"require": { "require": {
"php": ">=7.1.3", "php": ">=7.1.3",
"symfony/event-dispatcher-contracts": "^1.1" "symfony/event-dispatcher-contracts": "^1.1"
}, },
"conflict": { "conflict": {
"symfony/dependency-injection": "<3.4" "symfony/dependency-injection": "<3.4"
}, },
"provide": { "provide": {
"psr/event-dispatcher-implementation": "1.0", "psr/event-dispatcher-implementation": "1.0",
"symfony/event-dispatcher-implementation": "1.1" "symfony/event-dispatcher-implementation": "1.1"
}, },
"require-dev": { "require-dev": {
"psr/log": "~1.0", "psr/log": "~1.0",
@ -2541,16 +2541,16 @@
"license": [ "license": [
"MIT" "MIT"
], ],
"authors": [ "authors": [
{ {
"name": "Fabien Potencier", "name": "Fabien Potencier",
"email": "fabien@symfony.com" "email": "fabien@symfony.com"
}, },
{ {
"name": "Symfony Community", "name": "Symfony Community",
"homepage": "https://symfony.com/contributors" "homepage": "https://symfony.com/contributors"
} }
], ],
"description": "Symfony EventDispatcher Component", "description": "Symfony EventDispatcher Component",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"funding": [ "funding": [
@ -2589,23 +2589,23 @@
} }
] ]
}, },
"require": { "require": {
"php": ">=7.1.3" "php": ">=7.1.3"
}, },
"suggest": { "suggest": {
"psr/event-dispatcher": "", "psr/event-dispatcher": "",
"symfony/event-dispatcher-implementation": "" "symfony/event-dispatcher-implementation": ""
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "1.1-dev" "dev-master": "1.1-dev"
}, },
"thanks": { "thanks": {
"name": "symfony/contracts", "name": "symfony/contracts",
"url": "https://github.com/symfony/contracts" "url": "https://github.com/symfony/contracts"
} }
}, },
"autoload": { "autoload": {
"psr-4": { "psr-4": {
"Symfony\\Contracts\\EventDispatcher\\": "" "Symfony\\Contracts\\EventDispatcher\\": ""
@ -2615,16 +2615,16 @@
"license": [ "license": [
"MIT" "MIT"
], ],
"authors": [ "authors": [
{ {
"name": "Nicolas Grekas", "name": "Nicolas Grekas",
"email": "p@tchwork.com" "email": "p@tchwork.com"
}, },
{ {
"name": "Symfony Community", "name": "Symfony Community",
"homepage": "https://symfony.com/contributors" "homepage": "https://symfony.com/contributors"
} }
], ],
"description": "Generic abstractions related to dispatching event", "description": "Generic abstractions related to dispatching event",
"homepage": "https://symfony.com", "homepage": "https://symfony.com",
"keywords": [ "keywords": [
@ -2651,16 +2651,16 @@
], ],
"time": "2020-07-06T13:19:58+00:00" "time": "2020-07-06T13:19:58+00:00"
}, },
{ {
"name": "symfony/filesystem", "name": "symfony/filesystem",
"version": "v5.1.3", "version": "v5.1.3",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/symfony/filesystem.git", "url": "https://github.com/symfony/filesystem.git",
"reference": "6e4320f06d5f2cce0d96530162491f4465179157" "reference": "6e4320f06d5f2cce0d96530162491f4465179157"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/symfony/filesystem/zipball/6e4320f06d5f2cce0d96530162491f4465179157", "url": "https://api.github.com/repos/symfony/filesystem/zipball/6e4320f06d5f2cce0d96530162491f4465179157",
"reference": "6e4320f06d5f2cce0d96530162491f4465179157", "reference": "6e4320f06d5f2cce0d96530162491f4465179157",
"shasum": "", "shasum": "",
@ -2711,16 +2711,16 @@
"type": "custom" "type": "custom"
}, },
{ {
"url": "https://github.com/fabpot", "url": "https://github.com/fabpot",
"type": "github" "type": "github"
}, },
{ {
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-05-30T20:35:19+00:00" "time": "2020-05-30T20:35:19+00:00"
}, },
{ {
"name": "symfony/http-foundation", "name": "symfony/http-foundation",
"version": "v5.2.0", "version": "v5.2.0",
@ -2741,16 +2741,16 @@
} }
] ]
}, },
"require": { "require": {
"php": ">=7.2.5", "php": ">=7.2.5",
"symfony/deprecation-contracts": "^2.1", "symfony/deprecation-contracts": "^2.1",
"symfony/polyfill-mbstring": "~1.1", "symfony/polyfill-mbstring": "~1.1",
"symfony/polyfill-php80": "^1.15" "symfony/polyfill-php80": "^1.15"
}, },
"require-dev": { "require-dev": {
"predis/predis": "~1.0", "predis/predis": "~1.0",
"symfony/cache": "^4.4|^5.0", "symfony/cache": "^4.4|^5.0",
"symfony/expression-language": "^4.4|^5.0", "symfony/expression-language": "^4.4|^5.0",
"symfony/mime": "^4.4|^5.0" "symfony/mime": "^4.4|^5.0"
}, },
"suggest": { "suggest": {
@ -3112,15 +3112,15 @@
"type": "custom" "type": "custom"
}, },
{ {
"url": "https://github.com/fabpot", "url": "https://github.com/fabpot",
"type": "github" "type": "github"
}, },
{ {
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-07-14T12:35:20+00:00" "time": "2020-07-14T12:35:20+00:00"
}, },
{ {
"name": "symfony/polyfill-mbstring", "name": "symfony/polyfill-mbstring",
@ -3142,16 +3142,16 @@
} }
] ]
}, },
"require": { "require": {
"php": ">=7.1" "php": ">=7.1"
}, },
"suggest": { "suggest": {
"ext-mbstring": "For best performance" "ext-mbstring": "For best performance"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "1.20-dev" "dev-main": "1.20-dev"
}, },
"thanks": { "thanks": {
"name": "symfony/polyfill", "name": "symfony/polyfill",
@ -3439,15 +3439,15 @@
"type": "custom" "type": "custom"
}, },
{ {
"url": "https://github.com/fabpot", "url": "https://github.com/fabpot",
"type": "github" "type": "github"
}, },
{ {
"url": "https://tidelift.com/funding/github/packagist/symfony/symfony", "url": "https://tidelift.com/funding/github/packagist/symfony/symfony",
"type": "tidelift" "type": "tidelift"
} }
], ],
"time": "2020-07-14T12:35:20+00:00" "time": "2020-07-14T12:35:20+00:00"
}, },
{ {
"name": "symfony/polyfill-php80", "name": "symfony/polyfill-php80",
@ -3469,16 +3469,16 @@
} }
] ]
}, },
"require": { "require": {
"php": ">=7.1" "php": ">=7.1"
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-main": "1.20-dev" "dev-main": "1.20-dev"
}, },
"thanks": { "thanks": {
"name": "symfony/polyfill", "name": "symfony/polyfill",
"url": "https://github.com/symfony/polyfill" "url": "https://github.com/symfony/polyfill"
} }
}, },
@ -3520,10 +3520,10 @@
"shim" "shim"
], ],
"funding": [ "funding": [
{ {
"url": "https://symfony.com/sponsor", "url": "https://symfony.com/sponsor",
"type": "custom" "type": "custom"
}, },
{ {
"url": "https://github.com/fabpot", "url": "https://github.com/fabpot",
"type": "github" "type": "github"
@ -3643,17 +3643,17 @@
} }
] ]
}, },
"require": { "require": {
"php": ">=7.2.5", "php": ">=7.2.5",
"psr/container": "^1.0" "psr/container": "^1.0"
}, },
"suggest": { "suggest": {
"symfony/service-implementation": "" "symfony/service-implementation": ""
}, },
"type": "library", "type": "library",
"extra": { "extra": {
"branch-alias": { "branch-alias": {
"dev-master": "2.2-dev" "dev-master": "2.2-dev"
}, },
"thanks": { "thanks": {
"name": "symfony/contracts", "name": "symfony/contracts",
@ -3690,10 +3690,10 @@
"standards" "standards"
], ],
"funding": [ "funding": [
{ {
"url": "https://symfony.com/sponsor", "url": "https://symfony.com/sponsor",
"type": "custom" "type": "custom"
}, },
{ {
"url": "https://github.com/fabpot", "url": "https://github.com/fabpot",
"type": "github" "type": "github"
@ -3793,16 +3793,16 @@
"reference": "a3b3054262e48776e8014d5e385a8932b0102f29" "reference": "a3b3054262e48776e8014d5e385a8932b0102f29"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/TencentCloud/tencentcloud-sdk-php/zipball/a3b3054262e48776e8014d5e385a8932b0102f29", "url": "https://api.github.com/repos/TencentCloud/tencentcloud-sdk-php/zipball/a3b3054262e48776e8014d5e385a8932b0102f29",
"reference": "a3b3054262e48776e8014d5e385a8932b0102f29", "reference": "a3b3054262e48776e8014d5e385a8932b0102f29",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true "preferred": true
} }
] ]
}, },
"require": { "require": {
"guzzlehttp/guzzle": "^6.3", "guzzlehttp/guzzle": "^6.3",
@ -4192,40 +4192,41 @@
} }
], ],
"packages-dev": [ "packages-dev": [
{ {
"name": "odan/phinx-migrations-generator", "name": "odan/phinx-migrations-generator",
"version": "5.1.2", "version": "5.3.2",
"source": { "source": {
"type": "git", "type": "git",
"url": "https://github.com/odan/phinx-migrations-generator.git", "url": "https://github.com/odan/phinx-migrations-generator.git",
"reference": "f3cb7cc6bc7eb22e85f34f229b6d476e96d99c73" "reference": "2d3620f8251838b53717f7a43a348de31e9d451c"
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/odan/phinx-migrations-generator/zipball/f3cb7cc6bc7eb22e85f34f229b6d476e96d99c73", "url": "https://api.github.com/repos/odan/phinx-migrations-generator/zipball/2d3620f8251838b53717f7a43a348de31e9d451c",
"reference": "f3cb7cc6bc7eb22e85f34f229b6d476e96d99c73", "reference": "2d3620f8251838b53717f7a43a348de31e9d451c",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true "preferred": true
} }
] ]
}, },
"require": { "require": {
"ext-json": "*", "ext-json": "*",
"ext-pdo": "*", "ext-pdo": "*",
"php": "^7.2", "php": "^7.2",
"riimu/kit-phpencoder": "^2.4", "riimu/kit-phpencoder": "^2.4",
"robmorgan/phinx": "^0.12", "robmorgan/phinx": "^0.12",
"symfony/console": "^2.8 || ^3.0 || ^4.0 || ^5.0" "symfony/console": "^2.8 || ^3.0 || ^4.0 || ^5.0",
"symfony/polyfill-php73": "^1.18"
}, },
"require-dev": { "require-dev": {
"friendsofphp/php-cs-fixer": "^2.16", "friendsofphp/php-cs-fixer": "^2.16",
"overtrue/phplint": "^1.1", "overtrue/phplint": "^1.1 || ^2.0",
"phpstan/phpstan": "^0.12", "phpstan/phpstan": "^0.12",
"phpunit/phpunit": "^8 || ^9", "phpunit/phpunit": "^8 || ^9",
"squizlabs/php_codesniffer": "^3.4" "squizlabs/php_codesniffer": "^3.4"
}, },
"bin": [ "bin": [
"./bin/phinx-migrations" "./bin/phinx-migrations"
@ -4240,18 +4241,22 @@
"license": [ "license": [
"MIT" "MIT"
], ],
"description": "Migration generator for Phinx", "description": "Migration generator for Phinx",
"homepage": "https://github.com/odan/phinx-migrations-generator", "homepage": "https://github.com/odan/phinx-migrations-generator",
"keywords": [ "keywords": [
"database", "database",
"generator", "generator",
"migration", "migration",
"migrations", "migrations",
"mysql", "mysql",
"phinx" "phinx"
], ],
"time": "2020-06-15T19:36:35+00:00" "support": {
"issues": "https://github.com/odan/phinx-migrations-generator/issues",
"source": "https://github.com/odan/phinx-migrations-generator/tree/5.3.2"
}, },
"time": "2020-12-30T23:59:57+00:00"
},
{ {
"name": "phalcon/ide-stubs", "name": "phalcon/ide-stubs",
"version": "v3.4.3", "version": "v3.4.3",
@ -4262,15 +4267,15 @@
}, },
"dist": { "dist": {
"type": "zip", "type": "zip",
"url": "https://api.github.com/repos/phalcon/ide-stubs/zipball/65144f2b0fad32b182ccb062b1efc1b4edea5d44", "url": "https://api.github.com/repos/phalcon/ide-stubs/zipball/65144f2b0fad32b182ccb062b1efc1b4edea5d44",
"reference": "65144f2b0fad32b182ccb062b1efc1b4edea5d44", "reference": "65144f2b0fad32b182ccb062b1efc1b4edea5d44",
"shasum": "", "shasum": "",
"mirrors": [ "mirrors": [
{ {
"url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%", "url": "https://mirrors.aliyun.com/composer/dists/%package%/%reference%.%type%",
"preferred": true "preferred": true
} }
] ]
}, },
"require": { "require": {
"php": ">=5.3.0" "php": ">=5.3.0"
@ -4287,16 +4292,16 @@
"homepage": "https://phalconphp.com/en/team" "homepage": "https://phalconphp.com/en/team"
}, },
{ {
"name": "Contributors", "name": "Contributors",
"homepage": "https://github.com/phalcon/ide-stubs/graphs/contributors" "homepage": "https://github.com/phalcon/ide-stubs/graphs/contributors"
} }
], ],
"description": "The most complete Phalcon Framework IDE stubs library which enables autocompletion in modern IDEs.", "description": "The most complete Phalcon Framework IDE stubs library which enables autocompletion in modern IDEs.",
"homepage": "https://phalconphp.com", "homepage": "https://phalconphp.com",
"keywords": [ "keywords": [
"Devtools", "Devtools",
"Eclipse", "Eclipse",
"autocomplete", "autocomplete",
"ide", "ide",
"netbeans", "netbeans",
"phalcon", "phalcon",

File diff suppressed because it is too large Load Diff

View File

@ -4,6 +4,7 @@ use Phinx\Db\Adapter\MysqlAdapter;
class CreateOnlineTable extends Phinx\Migration\AbstractMigration class CreateOnlineTable extends Phinx\Migration\AbstractMigration
{ {
public function change() public function change()
{ {
$this->table('kg_online', [ $this->table('kg_online', [
@ -18,6 +19,7 @@ class CreateOnlineTable extends Phinx\Migration\AbstractMigration
->addColumn('id', 'integer', [ ->addColumn('id', 'integer', [
'null' => false, 'null' => false,
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'identity' => 'enable', 'identity' => 'enable',
'comment' => '主键编号', 'comment' => '主键编号',
]) ])
@ -25,6 +27,7 @@ class CreateOnlineTable extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '用户编号', 'comment' => '用户编号',
'after' => 'id', 'after' => 'id',
]) ])
@ -32,6 +35,7 @@ class CreateOnlineTable extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '1', 'default' => '1',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '终端类型', 'comment' => '终端类型',
'after' => 'user_id', 'after' => 'user_id',
]) ])
@ -48,6 +52,7 @@ class CreateOnlineTable extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '活跃时间', 'comment' => '活跃时间',
'after' => 'client_ip', 'after' => 'client_ip',
]) ])
@ -55,6 +60,7 @@ class CreateOnlineTable extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '创建时间', 'comment' => '创建时间',
'after' => 'active_time', 'after' => 'active_time',
]) ])
@ -62,6 +68,7 @@ class CreateOnlineTable extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '更新时间', 'comment' => '更新时间',
'after' => 'create_time', 'after' => 'create_time',
]) ])
@ -90,7 +97,7 @@ class CreateOnlineTable extends Phinx\Migration\AbstractMigration
'engine' => 'InnoDB', 'engine' => 'InnoDB',
'encoding' => 'utf8mb4', 'encoding' => 'utf8mb4',
'collation' => 'utf8mb4_general_ci', 'collation' => 'utf8mb4_general_ci',
'comment' => '', 'comment' => '主键编号',
'row_format' => 'DYNAMIC', 'row_format' => 'DYNAMIC',
]) ])
->changeColumn('channel_sn', 'string', [ ->changeColumn('channel_sn', 'string', [
@ -104,4 +111,5 @@ class CreateOnlineTable extends Phinx\Migration\AbstractMigration
]) ])
->save(); ->save();
} }
} }

View File

@ -4,6 +4,7 @@ use Phinx\Db\Adapter\MysqlAdapter;
class CreateConnectTable extends Phinx\Migration\AbstractMigration class CreateConnectTable extends Phinx\Migration\AbstractMigration
{ {
public function change() public function change()
{ {
$this->table('kg_connect', [ $this->table('kg_connect', [
@ -18,6 +19,7 @@ class CreateConnectTable extends Phinx\Migration\AbstractMigration
->addColumn('id', 'integer', [ ->addColumn('id', 'integer', [
'null' => false, 'null' => false,
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'identity' => 'enable', 'identity' => 'enable',
'comment' => '主键编号', 'comment' => '主键编号',
]) ])
@ -25,13 +27,14 @@ class CreateConnectTable extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '用户编号', 'comment' => '用户编号',
'after' => 'id', 'after' => 'id',
]) ])
->addColumn('open_id', 'string', [ ->addColumn('open_id', 'string', [
'null' => false, 'null' => false,
'default' => '', 'default' => '',
'limit' => 50, 'limit' => 64,
'collation' => 'utf8mb4_general_ci', 'collation' => 'utf8mb4_general_ci',
'encoding' => 'utf8mb4', 'encoding' => 'utf8mb4',
'comment' => '开放ID', 'comment' => '开放ID',
@ -59,6 +62,7 @@ class CreateConnectTable extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '提供方', 'comment' => '提供方',
'after' => 'open_avatar', 'after' => 'open_avatar',
]) ])
@ -66,6 +70,7 @@ class CreateConnectTable extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '删除标识', 'comment' => '删除标识',
'after' => 'provider', 'after' => 'provider',
]) ])
@ -73,6 +78,7 @@ class CreateConnectTable extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '创建时间', 'comment' => '创建时间',
'after' => 'deleted', 'after' => 'deleted',
]) ])
@ -80,6 +86,7 @@ class CreateConnectTable extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '更新时间', 'comment' => '更新时间',
'after' => 'create_time', 'after' => 'create_time',
]) ])
@ -89,4 +96,5 @@ class CreateConnectTable extends Phinx\Migration\AbstractMigration
]) ])
->create(); ->create();
} }
} }

View File

@ -4,6 +4,7 @@ use Phinx\Db\Adapter\MysqlAdapter;
class Schema202012121830 extends Phinx\Migration\AbstractMigration class Schema202012121830 extends Phinx\Migration\AbstractMigration
{ {
public function change() public function change()
{ {
$this->table('kg_consult') $this->table('kg_consult')
@ -11,6 +12,7 @@ class Schema202012121830 extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '回复者编号', 'comment' => '回复者编号',
'after' => 'owner_id', 'after' => 'owner_id',
]) ])
@ -19,7 +21,7 @@ class Schema202012121830 extends Phinx\Migration\AbstractMigration
->addColumn('union_id', 'string', [ ->addColumn('union_id', 'string', [
'null' => false, 'null' => false,
'default' => '', 'default' => '',
'limit' => 50, 'limit' => 64,
'collation' => 'utf8mb4_general_ci', 'collation' => 'utf8mb4_general_ci',
'encoding' => 'utf8mb4', 'encoding' => 'utf8mb4',
'comment' => 'union_id', 'comment' => 'union_id',
@ -46,6 +48,7 @@ class Schema202012121830 extends Phinx\Migration\AbstractMigration
->addColumn('id', 'integer', [ ->addColumn('id', 'integer', [
'null' => false, 'null' => false,
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'identity' => 'enable', 'identity' => 'enable',
'comment' => '主键编号', 'comment' => '主键编号',
]) ])
@ -53,13 +56,14 @@ class Schema202012121830 extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '用户编号', 'comment' => '用户编号',
'after' => 'id', 'after' => 'id',
]) ])
->addColumn('open_id', 'string', [ ->addColumn('open_id', 'string', [
'null' => false, 'null' => false,
'default' => '', 'default' => '',
'limit' => 50, 'limit' => 64,
'collation' => 'utf8mb4_general_ci', 'collation' => 'utf8mb4_general_ci',
'encoding' => 'utf8mb4', 'encoding' => 'utf8mb4',
'comment' => '开放ID', 'comment' => '开放ID',
@ -69,6 +73,7 @@ class Schema202012121830 extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '删除标识', 'comment' => '删除标识',
'after' => 'open_id', 'after' => 'open_id',
]) ])
@ -76,6 +81,7 @@ class Schema202012121830 extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '创建时间', 'comment' => '创建时间',
'after' => 'deleted', 'after' => 'deleted',
]) ])
@ -83,6 +89,7 @@ class Schema202012121830 extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '更新时间', 'comment' => '更新时间',
'after' => 'create_time', 'after' => 'create_time',
]) ])
@ -96,4 +103,5 @@ class Schema202012121830 extends Phinx\Migration\AbstractMigration
]) ])
->create(); ->create();
} }
} }

View File

@ -12,6 +12,7 @@ class Schema202012271615 extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '推荐标识', 'comment' => '推荐标识',
'after' => 'attrs', 'after' => 'attrs',
]) ])

View File

@ -19,6 +19,7 @@ class Schema202101021220 extends Phinx\Migration\AbstractMigration
->addColumn('id', 'integer', [ ->addColumn('id', 'integer', [
'null' => false, 'null' => false,
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'identity' => 'enable', 'identity' => 'enable',
'comment' => '主键编号', 'comment' => '主键编号',
]) ])
@ -26,6 +27,7 @@ class Schema202101021220 extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '用户编号', 'comment' => '用户编号',
'after' => 'id', 'after' => 'id',
]) ])
@ -42,6 +44,7 @@ class Schema202101021220 extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '终端类型', 'comment' => '终端类型',
'after' => 'session_id', 'after' => 'session_id',
]) ])
@ -58,6 +61,7 @@ class Schema202101021220 extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '删除标识', 'comment' => '删除标识',
'after' => 'client_ip', 'after' => 'client_ip',
]) ])
@ -65,6 +69,7 @@ class Schema202101021220 extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '创建时间', 'comment' => '创建时间',
'after' => 'deleted', 'after' => 'deleted',
]) ])
@ -72,6 +77,7 @@ class Schema202101021220 extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '更新时间', 'comment' => '更新时间',
'after' => 'create_time', 'after' => 'create_time',
]) ])
@ -92,6 +98,7 @@ class Schema202101021220 extends Phinx\Migration\AbstractMigration
->addColumn('id', 'integer', [ ->addColumn('id', 'integer', [
'null' => false, 'null' => false,
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'identity' => 'enable', 'identity' => 'enable',
'comment' => '主键编号', 'comment' => '主键编号',
]) ])
@ -99,6 +106,7 @@ class Schema202101021220 extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '用户编号', 'comment' => '用户编号',
'after' => 'id', 'after' => 'id',
]) ])
@ -115,6 +123,7 @@ class Schema202101021220 extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '终端类型', 'comment' => '终端类型',
'after' => 'token', 'after' => 'token',
]) ])
@ -131,6 +140,7 @@ class Schema202101021220 extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '删除标识', 'comment' => '删除标识',
'after' => 'client_ip', 'after' => 'client_ip',
]) ])
@ -138,6 +148,7 @@ class Schema202101021220 extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '创建时间', 'comment' => '创建时间',
'after' => 'deleted', 'after' => 'deleted',
]) ])
@ -145,6 +156,7 @@ class Schema202101021220 extends Phinx\Migration\AbstractMigration
'null' => false, 'null' => false,
'default' => '0', 'default' => '0',
'limit' => MysqlAdapter::INT_REGULAR, 'limit' => MysqlAdapter::INT_REGULAR,
'signed' => false,
'comment' => '更新时间', 'comment' => '更新时间',
'after' => 'create_time', 'after' => 'create_time',
]) ])

16169
db/migrations/schema.php Normal file

File diff suppressed because it is too large Load Diff