Example 8671

Migration Plan

Database migration plan across environments.

{
schema_version: "9.14.20"
database: "postgresql"

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

{
id: "1781318735"
name: "create_group_index"
applied: true
}

{
id: "1781405135"
name: "add_status_column"
applied: true
}

{
id: "1781491535"
name: "alter_status_index"
applied: false
}

{
id: "1781577935"
name: "drop_token_table"
applied: false
}

{
id: "1781664335"
name: "create_email_column"
applied: false
}
]

environments: {
dev: {
host: "dev-db.snoopy-disk.info"
port: 5432
ssl: false
}

staging: {
host: "staging-db.brown-bonfire.biz"
port: 5432
ssl: true
}

prod: {
host: "prod-db.unconscious-reboot.info"
port: 5432
ssl: true
}
}
}

See also