Skip to content

GitHubdomain/yii2-migration

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

作用是把你现有的数据库表结构和数据选择性导出生成yii2的迁移文件

1.下载模块源码解压缩到 backend/modules/

2.在 backend/config/main.php 添加如下配置

'modules' => [
        'migration' => [
            'class' => 'migration\Module',
        ]
    ],
'aliases' => [
        '@migration' => '@backend/modules/migration',
    ],
```
3.在你的后台访问 http://yourdomain/migration

演示地址: http://www.51siyuan.cn/admin/migration

演示账号 `demo`  密码 `111111`

About

migration

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 91.9%
  • CSS 6.0%
  • JavaScript 2.1%