Example 9761

Migration Plan

Database migration plan across environments.

{
schema_version: "8.16.0"
database: "postgresql"

migrations: [
{
id: "1782182092"
name: "drop_createdAt_table"
applied: true
}

{
id: "1782268492"
name: "create_token_column"
applied: true
}

{
id: "1782354892"
name: "create_phone_index"
applied: true
}
]

environments: {
dev: {
host: "dev-db.polished-spirit.com"
port: 5432
ssl: false
}

staging: {
host: "staging-db.proper-calculus.net"
port: 5432
ssl: true
}

prod: {
host: "prod-db.cute-morning.com"
port: 5432
ssl: true
}
}
}

See also