Example 9980

Migration Plan

Database migration plan across environments.

{
schema_version: "8.5.13"
database: "mysql"

migrations: [
{
id: "1782354575"
name: "drop_updatedAt_table"
applied: true
}

{
id: "1782440975"
name: "create_phone_column"
applied: true
}

{
id: "1782527375"
name: "drop_password_column"
applied: true
}
]

environments: {
dev: {
host: "dev-db.nervous-subsidy.biz"
port: 5432
ssl: false
}

staging: {
host: "staging-db.snoopy-tomb.com"
port: 5432
ssl: true
}

prod: {
host: "prod-db.red-provision.net"
port: 5432
ssl: true
}
}
}

See also