slayer911/yii2-dbcast 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

slayer911/yii2-dbcast

最新稳定版本:1.0.4

Composer 安装命令:

composer require slayer911/yii2-dbcast

包简介

Auto migration

README 文档

README

Automatic generation of migration when changing the database schema. The module creates a snapshot of the previous database schema and the current one.

Currently, supports only MySql

Install

composer require --dev "slayer911/yii2-dbcast:*"

After installing the vendor, create the first DBCast.

 php yii migrate/cast-save

If in this step you have an error - add to console config (main-local.php) next data:

<?php
return [
    ...
    'controllerMap' => [
        'migrate' => [
            'class'   => \DBCast\controllers\MigrateController::class,
            'develop' => true
        ]
    ]
    ...
];

Using

The standard Yii controller has been extended with the DbCast Migrate controller. You now have the following commands: newcommands

  • migrate/cast-commit

castcommit

统计信息

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

GitHub 信息

  • Stars: 2
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: BSD-3-Clause
  • 更新时间: 2017-07-17