Example 3264

Migration Plan

Database migration plan across environments.

{
schema_version: "8.2.0"
database: "mysql"

migrations: [
{
id: "1776563289"
name: "create_phone_table"
applied: true
}

{
id: "1776649689"
name: "alter_password_index"
applied: true
}

{
id: "1776736089"
name: "drop_password_column"
applied: true
}

{
id: "1776822489"
name: "create_email_column"
applied: false
}
]

environments: {
dev: {
host: "dev-db.secret-section.net"
port: 5432
ssl: false
}

staging: {
host: "staging-db.limited-filter.info"
port: 5432
ssl: true
}

prod: {
host: "prod-db.common-other.name"
port: 5432
ssl: true
}
}
}

See also