Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 

This example demonstrates how to set up umzug with a raw sql client.

Note: this is really just a toy example to show how you can use pre-existing sql queries. If you want a raw sql migrator for postgres, see @slonik/migrator. It uses umzug in a similar way, with slonik as the underlying client, and it adds transactions, locking, supports typescript/javascript alongside sql, and some additional safety checks.

node migrate up