Example 13680

Migration Plan

Database migration plan across environments.

{
schema_version: "3.19.0"
database: "mysql"

migrations: [
{
id: "1785548546"
name: "alter_title_index"
applied: true
}

{
id: "1785634946"
name: "alter_status_table"
applied: true
}

{
id: "1785721346"
name: "add_updatedAt_table"
applied: true
}

{
id: "1785807746"
name: "add_updatedAt_column"
applied: false
}
]

environments: {
dev: {
host: "dev-db.huge-step.com"
port: 5432
ssl: false
}

staging: {
host: "staging-db.criminal-omelet.net"
port: 5432
ssl: true
}

prod: {
host: "prod-db.good-natured-stump.org"
port: 5432
ssl: true
}
}
}

See also