2017 © Pedro Peláez
 

yii2-extension yii2-console

An alternative to yii migrate

image

c006/yii2-console

An alternative to yii migrate

  • Tuesday, September 19, 2017
  • by c006
  • Repository
  • 1 Watchers
  • 0 Stars
  • 15 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 4 Versions
  • 0 % Grown

The README.md

Yii2 Console

Overview

An alternative console to php yii migrate, (*1)

Installation

The preferred way to install this extension is through composer., (*2)

Either run, (*3)

php composer.phar require --prefer-source "c006/yii2-console" "*"

or add, (*4)

"c006/yii2-console": "*"

to the require section of your composer.json file., (*5)

Required

console/config/main.php, (*6)

> 'modules' => [ 'migrate2' => [ 'class' => 'c006\console\Module', ], ],, (*7)

Usage

Easy to use!, (*8)

No path or history required, just the migration class name. Default action is "up", (*9)

> php yii migrate2 m_0000_0000_my_extension, (*10)

> php yii migrate2/down m_0000_0000_my_extension, (*11)

> php yii migrate2/custom m_0000_0000_my_extension, (*12)

Notes

  • Use after initial migrate
  • Only works with vendors

Comments / Suggestions

Please provide any helpful feedback or requests., (*13)

Thanks., (*14)

The Versions

19/09 2017

dev-master

9999999-dev

An alternative to yii migrate

  Sources   Download

MIT

by Jon Chambers

extension yii2 console migrate

19/09 2017

v2.0

2.0.0.0

An alternative to yii migrate

  Sources   Download

MIT

by Jon Chambers

extension yii2 console migrate

30/07 2016

v1.1

1.1.0.0

An alternative to yii migrate

  Sources   Download

MIT

by Jon Chambers

extension yii2 console migrate

26/08 2015

v1.0.0

1.0.0.0

An alternative to yii migrate

  Sources   Download

MIT

by Jon Chambers

extension yii2 console migrate