Example 6873

Migration Plan

Database migration plan across environments.

{
schema_version: "1.9.4"
database: "postgresql"

migrations: [
{
id: "1779674900"
name: "add_updatedAt_column"
applied: true
}

{
id: "1779761300"
name: "alter_email_column"
applied: true
}

{
id: "1779847700"
name: "drop_token_column"
applied: true
}

{
id: "1779934100"
name: "create_name_column"
applied: false
}

{
id: "1780020500"
name: "alter_updatedAt_table"
applied: false
}
]

environments: {
dev: {
host: "dev-db.surprised-guard.com"
port: 5432
ssl: false
}

staging: {
host: "staging-db.kaleidoscopic-cosset.net"
port: 5432
ssl: true
}

prod: {
host: "prod-db.natural-deed.info"
port: 5432
ssl: true
}
}
}

See also