Example 7270

Migration Plan

Database migration plan across environments.

{
schema_version: "5.19.13"
database: "postgresql"

migrations: [
{
id: "1780023000"
name: "alter_name_column"
applied: true
}

{
id: "1780109400"
name: "alter_status_index"
applied: true
}

{
id: "1780195800"
name: "alter_updatedAt_column"
applied: true
}

{
id: "1780282200"
name: "alter_password_column"
applied: false
}

{
id: "1780368600"
name: "create_email_column"
applied: false
}

{
id: "1780455000"
name: "drop_updatedAt_column"
applied: false
}
]

environments: {
dev: {
host: "dev-db.great-technician.info"
port: 5432
ssl: false
}

staging: {
host: "staging-db.pushy-gymnast.biz"
port: 5432
ssl: true
}

prod: {
host: "prod-db.thick-hutch.info"
port: 5432
ssl: true
}
}
}

See also