承接 webvimark/yii2-migrate 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

webvimark/yii2-migrate

Composer 安装命令:

composer require webvimark/yii2-migrate

包简介

Yii2 migrate command that scan new migrations in modules

README 文档

README

Automatically scan for new migrations in all available modules.

Installation

The preferred way to install this extension is through composer.

Either run

composer require webvimark/yii2-migrate

or add

"webvimark/yii2-migrate": "^1.0"

Usage

To use this extension, simply add the following code in your application configuration (console.php):

'controllerMap' => [
    'migrate' => [
        'class' => 'webvimark\migrate\Controller',
        'configs' => [
            'config/console.php',
            'config/web.php',
        ],
//        'additionalPaths' => [
//            'some-path/some-dir', //directory
//            '@yii/rbac/migrations', // directory with alias
//            '@yii/web/migrations/m160313_153426_session_init.php', // single file
//        ],
    ],
],
# Run as usual
php yii migrate

Available options

configs - array. Application configuration files with 'modules' section

onlyModules - array. Scan for new migrations only in modules listed here

exceptModules - array. Do not scan for new migrations in modules listed here

additionalPaths - array. You can specify additional paths

统计信息

  • 总下载量: 200
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 4
  • 点击次数: 4
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 4
  • Watchers: 3
  • Forks: 1
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-09-12

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固