Example 4064

Migration Plan

Database migration plan across environments.

{
schema_version: "8.3.10"
database: "mysql"

migrations: [
{
id: "1777254788"
name: "alter_avatar_column"
applied: true
}

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

{
id: "1777427588"
name: "add_id_index"
applied: true
}
]

environments: {
dev: {
host: "dev-db.happy-vol.com"
port: 5432
ssl: false
}

staging: {
host: "staging-db.outgoing-conservative.com"
port: 5432
ssl: true
}

prod: {
host: "prod-db.rusty-boulevard.net"
port: 5432
ssl: true
}
}
}

See also