Example 9478

Migration Plan

Database migration plan across environments.

{
schema_version: "0.1.15"
database: "sqlite"

migrations: [
{
id: "1781922440"
name: "drop_id_table"
applied: true
}

{
id: "1782008840"
name: "drop_status_column"
applied: true
}

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

{
id: "1782181640"
name: "add_avatar_index"
applied: false
}
]

environments: {
dev: {
host: "dev-db.super-thigh.net"
port: 5432
ssl: false
}

staging: {
host: "staging-db.sour-kielbasa.com"
port: 5432
ssl: true
}

prod: {
host: "prod-db.colorful-casement.name"
port: 5432
ssl: true
}
}
}

See also