Database Schema Migrations

Schema migrations in CLI is like Stone Age Fire Making

Auto-generated Migrations



Database are as old mountains in our industry - yet developers are faced with stone age tools

Migration - CLI


Migration List


To list all the migrations use db.migrate.list command.


Example :


Migration Create


To create a new migrations file use db.migrate.create command.


Example :


Migration Up


To apply pending migrations you can use db.migrate.up command.


Example :


Migration Down


To Reverse applied migrations you can use db.migrate.down command.


Example :


Migration - GUI


Subscribe to Our Newsletter

Let us stretch your imagination

Download App