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 fer 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 rin yin at a time, ilkan in its ain transaction. An advisory lock stops twa deployments migratin at the same time, an stored checksums show whan a file on disk nae langer matches whit wis applied. Agin an environment named production it spiers fer confirmation afore it chynges ocht.

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 daes

  • Yin 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 onlie yin migration process rin at a time.

  • Checks afore chynges

    mg verify compares applied migrations wi their checksums. A dry run executes the SQL inside a transaction that is then rolled back.

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