Example 5965

Migration Plan

Database migration plan across environments.

{
schema_version: "9.20.10"
database: "postgresql"

migrations: [
{
id: "1778898507"
name: "create_phone_index"
applied: true
}

{
id: "1778984907"
name: "drop_status_table"
applied: true
}

{
id: "1779071307"
name: "alter_token_table"
applied: true
}
]

environments: {
dev: {
host: "dev-db.haunting-alert.net"
port: 5432
ssl: false
}

staging: {
host: "staging-db.unwilling-produce.com"
port: 5432
ssl: true
}

prod: {
host: "prod-db.svelte-futon.org"
port: 5432
ssl: true
}
}
}

See also