Example 12576

Migration Plan

Database migration plan across environments.

{
schema_version: "8.4.7"
database: "postgresql"

migrations: [
{
id: "1784598713"
name: "drop_status_column"
applied: true
}

{
id: "1784685113"
name: "alter_avatar_table"
applied: true
}

{
id: "1784771513"
name: "alter_title_column"
applied: true
}
]

environments: {
dev: {
host: "dev-db.creative-noon.com"
port: 5432
ssl: false
}

staging: {
host: "staging-db.mushy-metal.net"
port: 5432
ssl: true
}

prod: {
host: "prod-db.impure-in-joke.com"
port: 5432
ssl: true
}
}
}

See also