Example 12373

Migration Plan

Database migration plan across environments.

{
schema_version: "2.14.11"
database: "postgresql"

migrations: [
{
id: "1784425732"
name: "alter_category_column"
applied: true
}

{
id: "1784512132"
name: "add_password_column"
applied: true
}

{
id: "1784598532"
name: "drop_status_column"
applied: true
}

{
id: "1784684932"
name: "add_password_index"
applied: false
}

{
id: "1784771332"
name: "create_avatar_table"
applied: false
}

{
id: "1784857732"
name: "add_name_table"
applied: false
}
]

environments: {
dev: {
host: "dev-db.considerate-ghost.com"
port: 5432
ssl: false
}

staging: {
host: "staging-db.bitter-availability.com"
port: 5432
ssl: true
}

prod: {
host: "prod-db.glum-violin.org"
port: 5432
ssl: true
}
}
}

See also