2017 © Pedro PelĂĄez
 

cakephp-plugin cakephp-migrations

CakePHP Migrations Plugin

image

frankfoerster/cakephp-migrations

CakePHP Migrations Plugin

  • Thursday, April 30, 2015
  • by frankfoerster
  • Repository
  • 1 Watchers
  • 2 Stars
  • 93 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 3 % Grown

The README.md

Build Status, (*1)

Migrations Plugin for CakePHP 2.3+

This migrations plugin is based on the work of "CakeDC/migrations":https://github.com/CakeDC/migrations., (*2)

The main goals for the rewrite are:, (*3)

  • move the migration commands to their own functions "up" and "down"
  • make all migration actions as atomic as possible to ease testing
  • use PHP + CakePHP methods, models in your migrations
  • no need for "before" or "after" callbacks since migrations are method calls
  • remove migration mappings instead use file names with numeric and datetime prefixes + unique migration class names

Requirements

PHP 5.3+ CakePHP 2.3+, (*4)

Installation

via composer:, (*5)

composer require frankfoerster/cakephp-migrations:~1.0

In your app/Config/bootstrap.php add:, (*6)

CakePlugin::load('Migrations', array('bootstrap' => false, 'routes' => false));

Usage via Shell

cd app
Console/cake Migrations.Migration migrate up
Console/cake Migrations.Migration migrate down
Console/cake Migrations.Migration migrate down 1

License

Copyright (c) Frank Förster (frankfoerster), (*7)

Licensed under The MIT License Redistributions of files must retain the above copyright notice., (*8)

The Versions

30/04 2015

dev-master

9999999-dev https://github.com/frankfoerster/cakephp-migrations

CakePHP Migrations Plugin

  Sources   Download

MIT

The Requires

 

plugin database migrations cakephp migration

29/04 2015

v1.0.0

1.0.0.0 https://github.com/frankfoerster/cakephp-migrations

CakePHP Migrations Plugin

  Sources   Download

MIT

The Requires

 

plugin database migrations cakephp migration