Example 16862

Migration Plan

Database migration plan across environments.

{
schema_version: "9.7.4"
database: "postgresql"

migrations: [
{
id: "1788314102"
name: "drop_comment_column"
applied: true
}

{
id: "1788400502"
name: "alter_title_table"
applied: true
}

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

{
id: "1788573302"
name: "add_createdAt_index"
applied: false
}

{
id: "1788659702"
name: "add_category_table"
applied: false
}

{
id: "1788746102"
name: "alter_title_column"
applied: false
}
]

environments: {
dev: {
host: "dev-db.burly-elevation.info"
port: 5432
ssl: false
}

staging: {
host: "staging-db.salty-nucleotidase.com"
port: 5432
ssl: true
}

prod: {
host: "prod-db.best-gown.net"
port: 5432
ssl: true
}
}
}

See also