Example 15070

Migration Plan

Database migration plan across environments.

{
schema_version: "3.2.17"
database: "mysql"

migrations: [
{
id: "1786754379"
name: "create_updatedAt_column"
applied: true
}

{
id: "1786840779"
name: "create_comment_column"
applied: true
}

{
id: "1786927179"
name: "add_phone_column"
applied: true
}

{
id: "1787013579"
name: "drop_name_index"
applied: false
}

{
id: "1787099979"
name: "alter_token_index"
applied: false
}

{
id: "1787186379"
name: "drop_avatar_table"
applied: false
}
]

environments: {
dev: {
host: "dev-db.light-monster.name"
port: 5432
ssl: false
}

staging: {
host: "staging-db.front-litter.name"
port: 5432
ssl: true
}

prod: {
host: "prod-db.self-assured-newsletter.org"
port: 5432
ssl: true
}
}
}

See also