Example 10266

Migration Plan

Database migration plan across environments.

{
schema_version: "5.15.18"
database: "postgresql"

migrations: [
{
id: "1782612022"
name: "create_category_table"
applied: true
}

{
id: "1782698422"
name: "create_status_index"
applied: true
}

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

{
id: "1782871222"
name: "alter_id_column"
applied: false
}

{
id: "1782957622"
name: "create_updatedAt_table"
applied: false
}
]

environments: {
dev: {
host: "dev-db.uniform-papa.name"
port: 5432
ssl: false
}

staging: {
host: "staging-db.fuzzy-sushi.biz"
port: 5432
ssl: true
}

prod: {
host: "prod-db.enchanted-decision.biz"
port: 5432
ssl: true
}
}
}

See also