rust-db / refinery

Powerful SQL migration toolkit for Rust.
MIT License
1.35k stars 126 forks source link

Allow Postgres tests to be run on a different database #329

Closed mpalmer closed 6 months ago

mpalmer commented 6 months ago

Not everyone has a "scratch" PostgreSQL running on localhost:5432 for refinery to scribble all over. Now you can specify an arbitrary PostgreSQL server to work on with the DB_URI environment variable (which appears to be what refinery-cli already uses) to test in.

mpalmer commented 6 months ago

I (was) running refinery's test suite so that I could develop the int8-versions feature, in #330.