Example 10967

Migration Plan

Database migration plan across environments.

{
schema_version: "4.13.11"
database: "postgresql"

migrations: [
{
id: "1783216716"
name: "create_id_index"
applied: true
}

{
id: "1783303116"
name: "drop_name_column"
applied: true
}

{
id: "1783389516"
name: "add_title_table"
applied: true
}

{
id: "1783475916"
name: "add_title_index"
applied: false
}
]

environments: {
dev: {
host: "dev-db.unsteady-petal.org"
port: 5432
ssl: false
}

staging: {
host: "staging-db.trusty-eyebrow.net"
port: 5432
ssl: true
}

prod: {
host: "prod-db.small-instance.com"
port: 5432
ssl: true
}
}
}

See also