make start
make refresh_db
// it will create up & down migration files
make gen_migration name=NAME
- example
make gen_migration name=create_users
// two migration files below will be created
// 20190625011352_create_users.up.sql
// 20190625011352_create_users.down.sql
- It will apply all pending migrations
make up_migrate
// force execution
make up_migrate arg=-f
- It will rollback migration by 1 step.
make down_migrate
// force execution
make down_migrate arg=-f
- It will drop all migrations
make drop_migrate
// force execution
make drop_migrate arg=-f