Example 10664

Migration Plan

Database migration plan across environments.

{
schema_version: "3.5.13"
database: "postgresql"

migrations: [
{
id: "1782958014"
name: "add_phone_index"
applied: true
}

{
id: "1783044414"
name: "create_token_index"
applied: true
}

{
id: "1783130814"
name: "create_phone_column"
applied: true
}
]

environments: {
dev: {
host: "dev-db.insecure-tribe.net"
port: 5432
ssl: false
}

staging: {
host: "staging-db.upbeat-cutlet.com"
port: 5432
ssl: true
}

prod: {
host: "prod-db.nifty-substitution.biz"
port: 5432
ssl: true
}
}
}

See also