Example 15663

Migration Plan

Database migration plan across environments.

{
schema_version: "0.19.2"
database: "mysql"

migrations: [
{
id: "1787272895"
name: "add_name_column"
applied: true
}

{
id: "1787359295"
name: "drop_avatar_column"
applied: true
}

{
id: "1787445695"
name: "drop_createdAt_index"
applied: true
}

{
id: "1787532095"
name: "alter_id_index"
applied: false
}
]

environments: {
dev: {
host: "dev-db.noxious-elevation.info"
port: 5432
ssl: false
}

staging: {
host: "staging-db.shadowy-halt.info"
port: 5432
ssl: true
}

prod: {
host: "prod-db.terrible-skean.com"
port: 5432
ssl: true
}
}
}

See also