Example 9570

Migration Plan

Database migration plan across environments.

{
schema_version: "8.10.2"
database: "mysql"

migrations: [
{
id: "1782008942"
name: "create_password_column"
applied: true
}

{
id: "1782095342"
name: "add_updatedAt_column"
applied: true
}

{
id: "1782181742"
name: "drop_password_index"
applied: true
}
]

environments: {
dev: {
host: "dev-db.accomplished-precedent.net"
port: 5432
ssl: false
}

staging: {
host: "staging-db.bright-alert.name"
port: 5432
ssl: true
}

prod: {
host: "prod-db.back-seagull.com"
port: 5432
ssl: true
}
}
}

See also