Example 10165

Migration Plan

Database migration plan across environments.

{
schema_version: "4.1.2"
database: "postgresql"

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

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

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

environments: {
dev: {
host: "dev-db.granular-baritone.net"
port: 5432
ssl: false
}

staging: {
host: "staging-db.vivid-conversation.info"
port: 5432
ssl: true
}

prod: {
host: "prod-db.fake-meadow.name"
port: 5432
ssl: true
}
}
}

See also