Example 16070

Migration Plan

Database migration plan across environments.

{
schema_version: "4.19.16"
database: "postgresql"

migrations: [
{
id: "1787624908"
name: "add_name_column"
applied: true
}

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

{
id: "1787797708"
name: "alter_id_column"
applied: true
}

{
id: "1787884108"
name: "create_title_column"
applied: false
}

{
id: "1787970508"
name: "drop_email_index"
applied: false
}
]

environments: {
dev: {
host: "dev-db.second-hand-follower.name"
port: 5432
ssl: false
}

staging: {
host: "staging-db.good-natured-alliance.com"
port: 5432
ssl: true
}

prod: {
host: "prod-db.drab-coin.name"
port: 5432
ssl: true
}
}
}

See also