Example 3471

Migration Plan

Database migration plan across environments.

{
schema_version: "5.1.3"
database: "mysql"

migrations: [
{
id: "1776736219"
name: "add_token_table"
applied: true
}

{
id: "1776822619"
name: "drop_comment_index"
applied: true
}

{
id: "1776909019"
name: "drop_avatar_index"
applied: true
}

{
id: "1776995419"
name: "drop_group_index"
applied: false
}

{
id: "1777081819"
name: "add_updatedAt_index"
applied: false
}
]

environments: {
dev: {
host: "dev-db.complicated-devastation.net"
port: 5432
ssl: false
}

staging: {
host: "staging-db.abandoned-scorn.com"
port: 5432
ssl: true
}

prod: {
host: "prod-db.giving-procurement.info"
port: 5432
ssl: true
}
}
}

See also