Example 12265

Migration Plan

Database migration plan across environments.

{
schema_version: "4.14.16"
database: "mysql"

migrations: [
{
id: "1784339587"
name: "drop_status_index"
applied: true
}

{
id: "1784425987"
name: "alter_updatedAt_column"
applied: true
}

{
id: "1784512387"
name: "alter_createdAt_index"
applied: true
}

{
id: "1784598787"
name: "create_id_index"
applied: false
}

{
id: "1784685187"
name: "drop_name_table"
applied: false
}

{
id: "1784771587"
name: "add_comment_column"
applied: false
}
]

environments: {
dev: {
host: "dev-db.mad-technician.com"
port: 5432
ssl: false
}

staging: {
host: "staging-db.wobbly-finer.org"
port: 5432
ssl: true
}

prod: {
host: "prod-db.simplistic-mountain.net"
port: 5432
ssl: true
}
}
}

See also