Example 13968

Migration Plan

Database migration plan across environments.

{
schema_version: "2.20.8"
database: "postgresql"

migrations: [
{
id: "1785805043"
name: "alter_avatar_column"
applied: true
}

{
id: "1785891443"
name: "create_status_column"
applied: true
}

{
id: "1785977843"
name: "add_category_index"
applied: true
}
]

environments: {
dev: {
host: "dev-db.speedy-t-shirt.biz"
port: 5432
ssl: false
}

staging: {
host: "staging-db.brave-toothpick.org"
port: 5432
ssl: true
}

prod: {
host: "prod-db.equatorial-other.net"
port: 5432
ssl: true
}
}
}

See also