Example 8978

Migration Plan

Database migration plan across environments.

{
schema_version: "2.17.12"
database: "postgresql"

migrations: [
{
id: "1781490653"
name: "add_password_table"
applied: true
}

{
id: "1781577053"
name: "alter_id_table"
applied: true
}

{
id: "1781663453"
name: "alter_comment_table"
applied: true
}

{
id: "1781749853"
name: "create_category_table"
applied: false
}
]

environments: {
dev: {
host: "dev-db.repentant-provision.org"
port: 5432
ssl: false
}

staging: {
host: "staging-db.crafty-taxicab.org"
port: 5432
ssl: true
}

prod: {
host: "prod-db.intent-godparent.name"
port: 5432
ssl: true
}
}
}

See also