Download the PHP package zhezhong17/yii2-migration without Composer
On this page you can find all versions of the php package zhezhong17/yii2-migration. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download zhezhong17/yii2-migration
More information about zhezhong17/yii2-migration
Files in zhezhong17/yii2-migration
Download zhezhong17/yii2-migration
More information about zhezhong17/yii2-migration
Files in zhezhong17/yii2-migration
Vendor zhezhong17
Package yii2-migration
Short Description yii2逆向还原mysql表为migrate文件
License Apache-2.0
Package yii2-migration
Short Description yii2逆向还原mysql表为migrate文件
License Apache-2.0
Please rate this library. Is it a good library?
Informations about the package yii2-migration
参考了e282486518/yii2-console-migration等其他很多包, 但它们都没有达到我的需求
=============================
我们的目标是百分百还原
包括但不限于(表结构 索引 字段长度 字段排序规则 数值精度 视图等)
所以诞生了它
如果你发现生成的结果不能百分百还原,请邮件提醒我。会继续改进的。
=============================
安装 Installation
OR
还需要的工作
在 OR 中添加 :
在命令行中使用方式:
其他问题
1. php ./yii migrate/reverse table1, table2, table3... 这种写法是错误的,逗号后面有空格。参数识别不出来,请注意啊
2. 为了保持百分百一致,所以生成的是SQL语句, migrations只是执行SQL语句。 不是我们平时写的那种migrations格式。 (不喜欢这个格式请换其他包, 当然后续也可能会改进生成的格式)
3. 我们的目标是百分百一致
All versions of yii2-migration with dependencies
PHP Build Version
Package Version
No informations.
The package zhezhong17/yii2-migration contains the following files
Loading the files please wait ....