Example 9379

Migration Plan

Database migration plan across environments.

{
schema_version: "5.18.2"
database: "postgresql"

migrations: [
{
id: "1781835957"
name: "alter_avatar_table"
applied: true
}

{
id: "1781922357"
name: "drop_email_table"
applied: true
}

{
id: "1782008757"
name: "create_status_table"
applied: true
}
]

environments: {
dev: {
host: "dev-db.flashy-citizen.info"
port: 5432
ssl: false
}

staging: {
host: "staging-db.valuable-tinderbox.biz"
port: 5432
ssl: true
}

prod: {
host: "prod-db.earnest-sesame.info"
port: 5432
ssl: true
}
}
}

See also