migrations.php is a script whose only purpose is to use Migrations API in running as well as generating migration scripts. All classes subject of migration must be located in migrations folder, use global namespace and implement Lucinda\Migration\Script. Running this script also requires a Lucinda\Migration\Cache solution that keeps track of migrations outcome already set. For more info, check Tutorial!
To generate migrations, open console and run:
php migrations.php generate
To run migrations on console go to your project root, open console and run:
To learn more how to write migrations, check Tutorial!