Example 6970

Migration Plan

Database migration plan across environments.

{
schema_version: "7.1.6"
database: "mysql"

migrations: [
{
id: "1779762858"
name: "drop_updatedAt_table"
applied: true
}

{
id: "1779849258"
name: "add_createdAt_index"
applied: true
}

{
id: "1779935658"
name: "add_createdAt_column"
applied: true
}
]

environments: {
dev: {
host: "dev-db.shameful-detective.net"
port: 5432
ssl: false
}

staging: {
host: "staging-db.bright-longboat.info"
port: 5432
ssl: true
}

prod: {
host: "prod-db.gripping-thunderbolt.biz"
port: 5432
ssl: true
}
}
}

See also