Example 16067

Migration Plan

Database migration plan across environments.

{
schema_version: "1.6.2"
database: "mysql"

migrations: [
{
id: "1787624908"
name: "add_name_index"
applied: true
}

{
id: "1787711308"
name: "alter_comment_column"
applied: true
}

{
id: "1787797708"
name: "alter_status_column"
applied: true
}
]

environments: {
dev: {
host: "dev-db.vibrant-mountain.name"
port: 5432
ssl: false
}

staging: {
host: "staging-db.unfortunate-baseboard.net"
port: 5432
ssl: true
}

prod: {
host: "prod-db.frivolous-disappointment.info"
port: 5432
ssl: true
}
}
}

See also