Example 3774

Migration Plan

Database migration plan across environments.

{
schema_version: "8.9.5"
database: "sqlite"

migrations: [
{
id: "1776996172"
name: "create_comment_index"
applied: true
}

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

{
id: "1777168972"
name: "drop_id_table"
applied: true
}

{
id: "1777255372"
name: "alter_updatedAt_index"
applied: false
}

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

environments: {
dev: {
host: "dev-db.obedient-custody.info"
port: 5432
ssl: false
}

staging: {
host: "staging-db.apprehensive-commodity.org"
port: 5432
ssl: true
}

prod: {
host: "prod-db.stingy-bungalow.com"
port: 5432
ssl: true
}
}
}

See also