armonia-tech / phalcon-migration
This tools provide you useful scripts to generate code helping to develop faster and easy applications that use with Phalcon framework.
Installs: 605
Dependents: 0
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 1
Open Issues: 0
pkg:composer/armonia-tech/phalcon-migration
Requires
- php: >=5.5.0
- phalcon/devtools: ^3.4
This package is auto-updated.
Last update: 2025-10-09 17:29:31 UTC
README
This project extend from phalcon-devtool migration to run older version's migration file.
Installation:
composer require armonia-tech/phalcon-migration
Usage:
To generate a blank migration file or migration file from a table in database:
./vendors/bin/at-phalcon migration generate --table=users --descr=create_table_users --config={path your migration config file}
To run a migration file:
./vendors/bin/at-phalcon migration run --version=1554705232436351_create_table_users --config={path your migration config file}
To rollback a migration file:
./vendors/bin/at-phalcon migration run --version=1554705232436351_create_table_users --config={path your migration config file} --rollback