Example 4965

Migration Plan

Database migration plan across environments.

{
schema_version: "6.0.7"
database: "postgresql"

migrations: [
{
id: "1778033388"
name: "alter_name_table"
applied: true
}

{
id: "1778119788"
name: "drop_updatedAt_index"
applied: true
}

{
id: "1778206188"
name: "add_name_index"
applied: true
}

{
id: "1778292588"
name: "drop_comment_index"
applied: false
}

{
id: "1778378988"
name: "drop_email_column"
applied: false
}

{
id: "1778465388"
name: "add_status_index"
applied: false
}
]

environments: {
dev: {
host: "dev-db.cumbersome-mountain.net"
port: 5432
ssl: false
}

staging: {
host: "staging-db.unwieldy-hamburger.net"
port: 5432
ssl: true
}

prod: {
host: "prod-db.sunny-waist.info"
port: 5432
ssl: true
}
}
}

See also