2017 © Pedro Peláez
 

yii2-extension yii2-dbcast

Auto migration

image

slayer911/yii2-dbcast

Auto migration

  • Wednesday, August 30, 2017
  • by Slayer
  • Repository
  • 2 Watchers
  • 1 Stars
  • 57 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 1 Open issues
  • 4 Versions
  • 19 % Grown

The README.md

Yii2 DbCast

Auto generate migration by your changes DB schema. Module create cast of previous DB schema, and current., (*1)

Currently supports only MySql, (*2)

Install

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

After vendor was installed - create first DBCast., (*3)

 php yii migrate/cast-save

If in this step you have an error - add to console config (main-local.php) next data: ```$xslt <?php return [ ... 'controllerMap' => [ 'migrate' => [ 'class' => \DBCast\controllers\MigrateController::class, 'develop' => true ] ] ... ];, (*4)

```, (*5)

Using

Default Yii controller was extended by DbCast Migrate controller. Now you have next commands: newcommands * migrate/cast-commit, (*6)

castcommit, (*7)

The Versions

30/08 2017

dev-master

9999999-dev

Auto migration

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 migration migrate

30/08 2017

1.0.3

1.0.3.0

Auto migration

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 migration migrate

29/08 2017

1.0.1

1.0.1.0

Auto migration

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 migration migrate

17/07 2017

1.0.0

1.0.0.0

Auto migration

  Sources   Download

BSD-3-Clause

The Requires

 

yii2 migration migrate