News for hackers. Stuff that matters.
Re:Get PostgreSQL Database Structure as a Detailed JavaScrip... by stephen on Thursday December 05, 2019 @02:19PM (#21715444)
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.

Re:Get PostgreSQL Database Structure as a Detailed JavaScrip... by aargh_aargh on Friday December 06, 2019 @03:40AM (#21720122)
Doesn't your RDBMS support transactions?