2017 © Pedro Peláez
 

library phalcon-console-migration

Based on sachoo/phalcon-console, this component handle databases migrations (up, down, diff, status, run)

image

sachoo/phalcon-console-migration

Based on sachoo/phalcon-console, this component handle databases migrations (up, down, diff, status, run)

  • Thursday, July 26, 2018
  • by sachoo
  • Repository
  • 1 Watchers
  • 0 Stars
  • 549 Installations
  • PHP
  • 1 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 9 Versions
  • 82 % Grown

The README.md

Phalcon Console Migration

Based on sachoo/phalcon-console, this component handle databases migrations (up, down, diff, status, run) based on your models metadatas., (*1)

Requirements

  • PHP >= 5.6
  • Phalcon >= 3.0.0

Installing

Follow the install instructions here sachoo/phalcon-console, (*2)

Usage

Migrations commands generate scripts with datetime versioning. In your configuration file, you must to define a config->application->migrationDir value. Then you have to manage your model metadatas with sachoo/phalcon-model-annotations, (*3)

To know more about the power of Migrations, execute:, (*4)

 ./console mig

This command should display something similar to:, (*5)

Help:
  Migration Commands

Usage: Generate a Migration
  mig gen

Usage: Run all available Migrations
  mig run

Usage: Run just one migration up
  mig up

Usage: Run just one migration down
  mig down

Usage: Generate migration file with Diff beetween Models and your Databases
  mig diff

Usage: Show migration status
  mig status

The Versions

26/07 2018

dev-master

9999999-dev

Based on sachoo/phalcon-console, this component handle databases migrations (up, down, diff, status, run)

  Sources   Download

MIT

The Requires

 

by Sacha Morard

framework command console migration cli phalcon

26/07 2018

1.0.7

1.0.7.0

Based on sachoo/phalcon-console, this component handle databases migrations (up, down, diff, status, run)

  Sources   Download

MIT

The Requires

 

by Sacha Morard

framework command console migration cli phalcon

11/04 2018

1.0.6

1.0.6.0

Based on sachoo/phalcon-console, this component handle databases migrations (up, down, diff, status, run)

  Sources   Download

MIT

The Requires

 

by Sacha Morard

framework command console migration cli phalcon

20/02 2018

1.0.5

1.0.5.0

Based on sachoo/phalcon-console, this component handle databases migrations (up, down, diff, status, run)

  Sources   Download

MIT

The Requires

 

by Sacha Morard

framework command console migration cli phalcon

16/02 2018

1.0.4

1.0.4.0

Based on sachoo/phalcon-console, this component handle databases migrations (up, down, diff, status, run)

  Sources   Download

MIT

The Requires

 

by Sacha Morard

framework command console migration cli phalcon

23/02 2017

1.0.3

1.0.3.0

Based on sachoo/phalcon-console, this component handle databases migrations (up, down, diff, status, run)

  Sources   Download

MIT

The Requires

 

by Sacha Morard

framework command console migration cli phalcon

23/02 2017

1.0.2

1.0.2.0

Based on sachoo/phalcon-console, this component handle databases migrations (up, down, diff, status, run)

  Sources   Download

MIT

The Requires

 

by Sacha Morard

framework command console migration cli phalcon

23/02 2017

1.0.1

1.0.1.0

Based on sachoo/phalcon-console, this component handle databases migrations (up, down, diff, status, run)

  Sources   Download

MIT

The Requires

 

by Sacha Morard

framework command console migration cli phalcon

23/02 2017

1.0.0

1.0.0.0

Based on sachoo/phalcon-console, this component handle databases migrations (up, down, diff, status, run)

  Sources   Download

MIT

The Requires

 

by Sacha Morard

framework command console migration cli phalcon