dreamyi12 / reverse-migration
Hyperf data reverse migration tool
v1.0.3
2022-03-21 08:20 UTC
Requires
- php: >=7.4
- hyperf/command: 2.2.*
- hyperf/database: 2.2.*
Requires (Dev)
- friendsofphp/php-cs-fixer: ^3.0
- hyperf/config: 2.2.*
- hyperf/di: 2.2.*
- mockery/mockery: ^1.0
- phpstan/phpstan: ^1.0
- phpunit/phpunit: ^9.5
- swoole/ide-helper: ^4.5
Suggests
- swow/swow: Required to create swow components.
README
Hyperf data reverse migration tool, currently only supports MySQL database, hyperf2 Version 2
Hyperf数据反向迁移工具,目前仅支持Mysql数据库,Hyperf2.2版本
How to install
如何安装
composer require dreamyi12/reverse-migration
How to use
如何使用
//迁移全部数据库表 php bin/hyperf.php gen:reverse-migration //迁移单张表 php bin/hyperf.php gen:reverse-migration -table=XXXXXX //迁移文件生成路径可以由-path 指定
欢迎有问题随时提问