Example 15975

Migration Plan

Database migration plan across environments.

{
schema_version: "6.12.16"
database: "sqlite"

migrations: [
{
id: "1787546951"
name: "alter_status_table"
applied: true
}

{
id: "1787633351"
name: "drop_password_column"
applied: true
}

{
id: "1787719751"
name: "create_password_column"
applied: true
}

{
id: "1787806151"
name: "create_createdAt_column"
applied: false
}
]

environments: {
dev: {
host: "dev-db.infatuated-scarification.name"
port: 5432
ssl: false
}

staging: {
host: "staging-db.humble-farm.info"
port: 5432
ssl: true
}

prod: {
host: "prod-db.snappy-mortise.info"
port: 5432
ssl: true
}
}
}

See also