Example 12666
Migration Plan
Database migration plan across environments.
{
schema_version: "5.12.18"
database: "postgresql"
migrations: [
{
id: "1784685570"
name: "drop_status_table"
applied: true
}
{
id: "1784771970"
name: "add_createdAt_index"
applied: true
}
{
id: "1784858370"
name: "drop_updatedAt_index"
applied: true
}
{
id: "1784944770"
name: "drop_avatar_index"
applied: false
}
{
id: "1785031170"
name: "alter_name_column"
applied: false
}
{
id: "1785117570"
name: "create_name_column"
applied: false
}
]
environments: {
dev: {
host: "dev-db.gummy-deployment.name"
port: 5432
ssl: false
}
staging: {
host: "staging-db.wavy-millet.com"
port: 5432
ssl: true
}
prod: {
host: "prod-db.complicated-flame.name"
port: 5432
ssl: true
}
}
}