Lowp tae content

For emergencies, call +44 7537 179434 and press 0.

Database migrations

migretti

Available

Ane transaction per migration, an an advisory lock agin concurrent runs.

A migration tool for Python projects on PostgreSQL. Ilka migration is a plain SQL file wi an up an a doun section an a ULID prefix in its name. Migrations run ane at a time, ilk ane in its ain transaction. An advisory lock stops twa deployments migratin at the same time, an stored checksums shaw whan a file on disk nae langer matches whit wis applee'd. Agin an environment named production it speirs for confirmation afore it chynges onythin.

Wha it is for. Python teams on PostgreSQL wha write an review their schema chynges as SQL.

Status
Available
Pairt o
Open soorce
Licence
Open source, Apache 2.0
Tags
PythonPostgreSQLSQLCLIMigrations

Whit it dis

  • Ae transaction per migration

    Ilka migration is committed afore the neist begins. Statements that cannae rin in a transaction, sic as CREATE INDEX CONCURRENTLY, are merked in the file.

  • Advisory lock

    A PostgreSQL advisory lock lats anerly ane migration process rin at the ae time.

  • Checks afore cheenges

    mg verify compares applee'd migrations wi their checksums. A dry run executes the SQL inside a transaction that is syne rolled back.

Documentation and access details are on the product site, github.com/rodmena-limited/migretti. For a pilot, an integration or procurement questions, contact us.