Example 10177

Migration Plan

Database migration plan across environments.

{
schema_version: "4.20.1"
database: "postgresql"

migrations: [
{
id: "1782527112"
name: "create_updatedAt_table"
applied: true
}

{
id: "1782613512"
name: "add_status_table"
applied: true
}

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

environments: {
dev: {
host: "dev-db.limited-freckle.org"
port: 5432
ssl: false
}

staging: {
host: "staging-db.exotic-defendant.com"
port: 5432
ssl: true
}

prod: {
host: "prod-db.back-cycle.org"
port: 5432
ssl: true
}
}
}

See also