Example 14969

Migration Plan

Database migration plan across environments.

{
schema_version: "9.7.11"
database: "postgresql"

migrations: [
{
id: "1786667984"
name: "add_title_column"
applied: true
}

{
id: "1786754384"
name: "alter_category_table"
applied: true
}

{
id: "1786840784"
name: "drop_avatar_index"
applied: true
}

{
id: "1786927184"
name: "add_token_table"
applied: false
}

{
id: "1787013584"
name: "alter_email_column"
applied: false
}

{
id: "1787099984"
name: "alter_id_index"
applied: false
}
]

environments: {
dev: {
host: "dev-db.measly-eggplant.name"
port: 5432
ssl: false
}

staging: {
host: "staging-db.wasteful-jury.com"
port: 5432
ssl: true
}

prod: {
host: "prod-db.first-cannon.name"
port: 5432
ssl: true
}
}
}

See also