Example 13069

Migration Plan

Database migration plan across environments.

{
schema_version: "2.16.17"
database: "postgresql"

migrations: [
{
id: "1785030814"
name: "drop_status_table"
applied: true
}

{
id: "1785117214"
name: "create_avatar_column"
applied: true
}

{
id: "1785203614"
name: "create_category_table"
applied: true
}

{
id: "1785290014"
name: "drop_id_table"
applied: false
}

{
id: "1785376414"
name: "drop_email_table"
applied: false
}

{
id: "1785462814"
name: "add_phone_table"
applied: false
}
]

environments: {
dev: {
host: "dev-db.similar-lox.info"
port: 5432
ssl: false
}

staging: {
host: "staging-db.acclaimed-thigh.biz"
port: 5432
ssl: true
}

prod: {
host: "prod-db.weary-testing.name"
port: 5432
ssl: true
}
}
}

See also