Example 13970

Migration Plan

Database migration plan across environments.

{
schema_version: "5.15.11"
database: "mysql"

migrations: [
{
id: "1785805043"
name: "alter_avatar_table"
applied: true
}

{
id: "1785891443"
name: "alter_name_index"
applied: true
}

{
id: "1785977843"
name: "add_email_table"
applied: true
}

{
id: "1786064243"
name: "create_updatedAt_column"
applied: false
}

{
id: "1786150643"
name: "drop_password_table"
applied: false
}

{
id: "1786237043"
name: "alter_status_column"
applied: false
}
]

environments: {
dev: {
host: "dev-db.glass-dress.name"
port: 5432
ssl: false
}

staging: {
host: "staging-db.annual-cheese.name"
port: 5432
ssl: true
}

prod: {
host: "prod-db.pertinent-underpants.com"
port: 5432
ssl: true
}
}
}

See also