Example 14468

Migration Plan

Database migration plan across environments.

{
schema_version: "3.11.14"
database: "mysql"

migrations: [
{
id: "1786237566"
name: "add_status_index"
applied: true
}

{
id: "1786323966"
name: "drop_updatedAt_index"
applied: true
}

{
id: "1786410366"
name: "add_comment_index"
applied: true
}

{
id: "1786496766"
name: "add_email_table"
applied: false
}

{
id: "1786583166"
name: "add_comment_index"
applied: false
}
]

environments: {
dev: {
host: "dev-db.fatal-pillow.name"
port: 5432
ssl: false
}

staging: {
host: "staging-db.dreary-lotion.com"
port: 5432
ssl: true
}

prod: {
host: "prod-db.average-digit.biz"
port: 5432
ssl: true
}
}
}

See also