Example 6973

Migration Plan

Database migration plan across environments.

{
schema_version: "5.4.12"
database: "mysql"

migrations: [
{
id: "1779762858"
name: "alter_phone_table"
applied: true
}

{
id: "1779849258"
name: "add_category_index"
applied: true
}

{
id: "1779935658"
name: "add_category_column"
applied: true
}

{
id: "1780022058"
name: "add_updatedAt_column"
applied: false
}

{
id: "1780108458"
name: "drop_title_column"
applied: false
}

{
id: "1780194858"
name: "alter_password_column"
applied: false
}
]

environments: {
dev: {
host: "dev-db.prime-reasoning.info"
port: 5432
ssl: false
}

staging: {
host: "staging-db.rubbery-mobility.org"
port: 5432
ssl: true
}

prod: {
host: "prod-db.cumbersome-printer.org"
port: 5432
ssl: true
}
}
}

See also