Provides migration automation and methods useful for migrations.
All you need is to declare the class in the right namespace.
<?php
namespace Nos\Monkey\Migrations;
class Install extends \Nos\Migration
{
}
If the migration name is 001_install.php it will try to execute 001_install.sql.
If you want a more complex migration (e.g. update files), you can overload up and down functions.
Tries to execute a sql file with same path (if migration filename is 001_install.php, it will try to execute 001_install.sql).