定制 petrgrishin/yiimigrate 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

petrgrishin/yiimigrate

Composer 安装命令:

composer require petrgrishin/yiimigrate

包简介

Migrate сommand supporting modules for Yii 1.1

README 文档

README

Migrate Command supporting modules for Yii 1.1

Current version

0.6

Install

composer.json:

{
  "require": {
    "petrgrishin/yiimigrate": "0.6"
  }
}

config:

<?php
return array(
  'commandMap' => array(
    'migrate' => array(
      'class' => \Command\MigrateCommand::className(),
    ),
  ),
);

Usage

Applies ALL new migrations including migrate all registered application modules:

php yiic migrate up

Applies new migrations only for the selected module:

php yiic migrate up --module=moduleNameFromConfiguration

Creates a new migration for the selected module:

php yiic migrate create migrateName --module=moduleNameFromConfiguration

Applies ALL new migrations and minimize output:

php yiic migrate up --silent=1

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2013-09-25

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固