Example 14878

Migration Plan

Database migration plan across environments.

{
schema_version: "0.5.1"
database: "sqlite"

migrations: [
{
id: "1786581572"
name: "alter_id_table"
applied: true
}

{
id: "1786667972"
name: "add_createdAt_column"
applied: true
}

{
id: "1786754372"
name: "alter_comment_column"
applied: true
}
]

environments: {
dev: {
host: "dev-db.weird-spring.name"
port: 5432
ssl: false
}

staging: {
host: "staging-db.descriptive-clavicle.name"
port: 5432
ssl: true
}

prod: {
host: "prod-db.regal-perp.biz"
port: 5432
ssl: true
}
}
}

See also