Example 6780

Migration Plan

Database migration plan across environments.

{
schema_version: "1.14.17"
database: "postgresql"

migrations: [
{
id: "1779588754"
name: "create_updatedAt_column"
applied: true
}

{
id: "1779675154"
name: "add_phone_index"
applied: true
}

{
id: "1779761554"
name: "create_comment_column"
applied: true
}

{
id: "1779847954"
name: "add_email_column"
applied: false
}

{
id: "1779934354"
name: "drop_status_index"
applied: false
}

{
id: "1780020754"
name: "alter_createdAt_index"
applied: false
}
]

environments: {
dev: {
host: "dev-db.dismal-giggle.net"
port: 5432
ssl: false
}

staging: {
host: "staging-db.proper-rubric.name"
port: 5432
ssl: true
}

prod: {
host: "prod-db.grumpy-providence.com"
port: 5432
ssl: true
}
}
}

See also