Sha256: 39051a18a52b13c5f4f0ffa130200a7237ca1665261ce6b5bb2cb96677c93bc5
Contents?: true
Size: 271 Bytes
Versions: 4
Compression:
Stored size: 271 Bytes
Contents
CREATE DATABASE ridgepole_test; \c ridgepole_test; DO $$ DECLARE stmts CURSOR FOR SELECT tablename FROM pg_tables WHERE schemaname = 'public'; BEGIN FOR stmt IN stmts LOOP EXECUTE 'DROP TABLE ' || quote_ident(stmt.tablename) || ';'; END LOOP; END; $$
Version data entries
4 entries across 4 versions & 1 rubygems