Example 4365

Migration Plan

Database migration plan across environments.

{
schema_version: "2.7.2"
database: "mysql"

migrations: [
{
id: "1777514305"
name: "alter_status_column"
applied: true
}

{
id: "1777600705"
name: "alter_email_column"
applied: true
}

{
id: "1777687105"
name: "create_phone_table"
applied: true
}

{
id: "1777773505"
name: "drop_id_index"
applied: false
}

{
id: "1777859905"
name: "add_group_table"
applied: false
}

{
id: "1777946305"
name: "alter_group_index"
applied: false
}
]

environments: {
dev: {
host: "dev-db.extra-large-step-mother.biz"
port: 5432
ssl: false
}

staging: {
host: "staging-db.natural-conversation.org"
port: 5432
ssl: true
}

prod: {
host: "prod-db.kooky-grouper.name"
port: 5432
ssl: true
}
}
}

See also