Example 6974

Migration Plan

Database migration plan across environments.

{
schema_version: "5.7.8"
database: "mysql"

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

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

{
id: "1779935658"
name: "alter_avatar_index"
applied: true
}
]

environments: {
dev: {
host: "dev-db.difficult-porter.name"
port: 5432
ssl: false
}

staging: {
host: "staging-db.guilty-brush.org"
port: 5432
ssl: true
}

prod: {
host: "prod-db.ambitious-brochure.com"
port: 5432
ssl: true
}
}
}

See also