Pg-Migrator
Pg-Migrator is a simple, macro-free, crate for running migrations on Postgres databases.
Usage
Quickstart
For rust-postgres use:
[]
= { = "0.1.0", = ["postgres"] }
For tokio-postgres use:
[]
= { = "0.1.0", = ["tokio-postgres"] }
Then, create your Postgres/Tokio Postgres connection as always and run the migrations:
use ;