Example 18177

Migration Plan

Database migration plan across environments.

{
schema_version: "1.0.14"
database: "mysql"

migrations: [
{
id: "1793076929"
name: "alter_name_table"
applied: true
}

{
id: "1793163329"
name: "add_status_table"
applied: true
}

{
id: "1793249729"
name: "alter_createdAt_table"
applied: true
}

{
id: "1793336129"
name: "alter_name_table"
applied: false
}
]

environments: {
dev: {
host: "dev-db.outlandish-eternity.info"
port: 5432
ssl: false
}

staging: {
host: "staging-db.gripping-community.org"
port: 5432
ssl: true
}

prod: {
host: "prod-db.round-charm.net"
port: 5432
ssl: true
}
}
}

See also