Example 9280

Migration Plan

Database migration plan across environments.

{
schema_version: "3.15.15"
database: "postgresql"

migrations: [
{
id: "1781748861"
name: "add_id_index"
applied: true
}

{
id: "1781835261"
name: "create_token_table"
applied: true
}

{
id: "1781921661"
name: "drop_title_index"
applied: true
}

{
id: "1782008061"
name: "create_password_index"
applied: false
}
]

environments: {
dev: {
host: "dev-db.ajar-graffiti.com"
port: 5432
ssl: false
}

staging: {
host: "staging-db.worthy-fowl.com"
port: 5432
ssl: true
}

prod: {
host: "prod-db.cheap-atrium.com"
port: 5432
ssl: true
}
}
}

See also