Example 15969

Migration Plan

Database migration plan across environments.

{
schema_version: "5.4.14"
database: "mysql"

migrations: [
{
id: "1787546951"
name: "alter_category_column"
applied: true
}

{
id: "1787633351"
name: "add_token_index"
applied: true
}

{
id: "1787719751"
name: "create_name_column"
applied: true
}

{
id: "1787806151"
name: "alter_email_column"
applied: false
}

{
id: "1787892551"
name: "alter_updatedAt_table"
applied: false
}

{
id: "1787978951"
name: "create_phone_column"
applied: false
}
]

environments: {
dev: {
host: "dev-db.cooperative-nudge.net"
port: 5432
ssl: false
}

staging: {
host: "staging-db.lone-bathrobe.name"
port: 5432
ssl: true
}

prod: {
host: "prod-db.grizzled-velocity.name"
port: 5432
ssl: true
}
}
}

See also