Example 4978

Migration Plan

Database migration plan across environments.

{
schema_version: "6.13.0"
database: "sqlite"

migrations: [
{
id: "1778033388"
name: "add_group_index"
applied: true
}

{
id: "1778119788"
name: "add_category_column"
applied: true
}

{
id: "1778206188"
name: "alter_status_column"
applied: true
}

{
id: "1778292588"
name: "create_id_index"
applied: false
}
]

environments: {
dev: {
host: "dev-db.dramatic-ignorance.info"
port: 5432
ssl: false
}

staging: {
host: "staging-db.noted-stay.org"
port: 5432
ssl: true
}

prod: {
host: "prod-db.square-poppy.com"
port: 5432
ssl: true
}
}
}

See also