Y
Hacker News
new
|
ask
|
show
|
jobs
by
aidos
1986 days ago
From memory, in Postgres, you could also have a copy of your base database and then copy it in for each test, which is seem to recall being fairly fast. It includes the data too.
Create database test_db template initial_db;