Example 5165

Migration Plan

Database migration plan across environments.

{
schema_version: "1.5.1"
database: "postgresql"

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

{
id: "1778292660"
name: "add_title_table"
applied: true
}

{
id: "1778379060"
name: "add_token_table"
applied: true
}

{
id: "1778465460"
name: "drop_name_table"
applied: false
}

{
id: "1778551860"
name: "add_category_table"
applied: false
}

{
id: "1778638260"
name: "drop_createdAt_index"
applied: false
}
]

environments: {
dev: {
host: "dev-db.serpentine-tributary.net"
port: 5432
ssl: false
}

staging: {
host: "staging-db.well-lit-hutch.com"
port: 5432
ssl: true
}

prod: {
host: "prod-db.parched-merit.info"
port: 5432
ssl: true
}
}
}

See also