Example 4576

Migration Plan

Database migration plan across environments.

{
schema_version: "2.9.12"
database: "sqlite"

migrations: [
{
id: "1777687224"
name: "create_createdAt_index"
applied: true
}

{
id: "1777773624"
name: "drop_avatar_table"
applied: true
}

{
id: "1777860024"
name: "add_title_index"
applied: true
}

{
id: "1777946424"
name: "add_comment_table"
applied: false
}

{
id: "1778032824"
name: "alter_status_table"
applied: false
}

{
id: "1778119224"
name: "create_status_index"
applied: false
}
]

environments: {
dev: {
host: "dev-db.fearless-gerbil.biz"
port: 5432
ssl: false
}

staging: {
host: "staging-db.dazzling-complication.com"
port: 5432
ssl: true
}

prod: {
host: "prod-db.qualified-thread.name"
port: 5432
ssl: true
}
}
}

See also