11 ms·
I'm using it generate a "flush_database()" stored procedure (after applying the latest migrations), that means each "before each" of a test can "execute flush_d
by stephen 7y ago
I'm using it generate a "flush_database()" stored procedure (after applying the latest migrations), that means each "before each" of a test can "execute flush_database" to get a clean slate db for its boundary case (w/o having to know/lookup "oh we've got 10-20-50 some entity tables now").
So, yeah, just custom/minor infrastructure/tooling stuff that is based on the db schema.
- aargh_aargh 7y agoDoesn't your RDBMS support transactions?