Example 15876

Migration Plan

Database migration plan across environments.

{
schema_version: "1.5.15"
database: "postgresql"

migrations: [
{
id: "1787471924"
name: "add_token_index"
applied: true
}

{
id: "1787558324"
name: "add_id_index"
applied: true
}

{
id: "1787644724"
name: "drop_createdAt_column"
applied: true
}

{
id: "1787731124"
name: "alter_avatar_index"
applied: false
}
]

environments: {
dev: {
host: "dev-db.compassionate-dusk.net"
port: 5432
ssl: false
}

staging: {
host: "staging-db.tough-settler.name"
port: 5432
ssl: true
}

prod: {
host: "prod-db.enchanted-shoulder.info"
port: 5432
ssl: true
}
}
}

See also