Example 5376

Migration Plan

Database migration plan across environments.

{
schema_version: "5.12.0"
database: "postgresql"

migrations: [
{
id: "1778379090"
name: "drop_comment_table"
applied: true
}

{
id: "1778465490"
name: "add_comment_table"
applied: true
}

{
id: "1778551890"
name: "add_name_column"
applied: true
}
]

environments: {
dev: {
host: "dev-db.dreary-elevator.name"
port: 5432
ssl: false
}

staging: {
host: "staging-db.electric-vibraphone.org"
port: 5432
ssl: true
}

prod: {
host: "prod-db.wide-eyed-gallery.biz"
port: 5432
ssl: true
}
}
}

See also