SQL: refactor postgresql drops to use force

This commit is contained in:
Keith Martin
2025-05-17 14:31:13 +10:00
parent 6c9f079035
commit bc23cde659
5 changed files with 5 additions and 5 deletions

View File

@@ -19,7 +19,7 @@ SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
DROP DATABASE migrate;
DROP DATABASE IF EXISTS migrate WITH (FORCE);
--
-- TOC entry 3924 (class 1262 OID 25875)
-- Name: migrate; Type: DATABASE; Schema: -; Owner: migrate

View File

@@ -19,7 +19,7 @@ SET xmloption = content;
SET client_min_messages = warning;
SET row_security = off;
DROP DATABASE migrate;
DROP DATABASE IF EXISTS migrate WITH (FORCE);
--
-- TOC entry 3924 (class 1262 OID 25875)
-- Name: migrate; Type: DATABASE; Schema: -; Owner: migrate

View File

@@ -1,2 +1,2 @@
DROP DATABASE IF EXISTS acceptance;
DROP DATABASE IF EXISTS acceptance WITH (FORCE);
CREATE DATABASE acceptance OWNER acceptance;

View File

@@ -1,2 +1,2 @@
DROP DATABASE IF EXISTS local;
DROP DATABASE IF EXISTS local WITH (FORCE);
CREATE DATABASE local OWNER local;

View File

@@ -1,2 +1,2 @@
DROP DATABASE IF EXISTS testdb;
DROP DATABASE IF EXISTS testdb WITH (FORCE);
CREATE DATABASE testdb OWNER testdb;