diff --git a/package.json b/package.json index 050eb7b..1bd541e 100644 --- a/package.json +++ b/package.json @@ -29,5 +29,5 @@ }, "scripts": { }, - "version": "1.3.0" + "version": "1.4.0" } diff --git a/share/drop-all-tables.sql b/share/drop-all-tables.sql index 576e5ad..728a64c 100644 --- a/share/drop-all-tables.sql +++ b/share/drop-all-tables.sql @@ -2,7 +2,7 @@ DO $$ BEGIN CREATE TABLE IF NOT EXISTS foo (); EXECUTE ( - SELECT string_agg('DROP TABLE IF EXISTS ' || table_name || ' CASCADE;', '') + SELECT string_agg('DROP TABLE IF EXISTS "' || table_name || '" CASCADE;', '') FROM information_schema.tables WHERE table_schema = 'public' AND table_type = 'BASE TABLE' );