mirror of
https://github.com/photoprism/photoprism.git
synced 2025-10-07 09:41:16 +08:00
SQL: refactor postgresql drops to use force
This commit is contained in:
@@ -19,7 +19,7 @@ SET xmloption = content;
|
|||||||
SET client_min_messages = warning;
|
SET client_min_messages = warning;
|
||||||
SET row_security = off;
|
SET row_security = off;
|
||||||
|
|
||||||
DROP DATABASE migrate;
|
DROP DATABASE IF EXISTS migrate WITH (FORCE);
|
||||||
--
|
--
|
||||||
-- TOC entry 3924 (class 1262 OID 25875)
|
-- TOC entry 3924 (class 1262 OID 25875)
|
||||||
-- Name: migrate; Type: DATABASE; Schema: -; Owner: migrate
|
-- Name: migrate; Type: DATABASE; Schema: -; Owner: migrate
|
||||||
|
@@ -19,7 +19,7 @@ SET xmloption = content;
|
|||||||
SET client_min_messages = warning;
|
SET client_min_messages = warning;
|
||||||
SET row_security = off;
|
SET row_security = off;
|
||||||
|
|
||||||
DROP DATABASE migrate;
|
DROP DATABASE IF EXISTS migrate WITH (FORCE);
|
||||||
--
|
--
|
||||||
-- TOC entry 3924 (class 1262 OID 25875)
|
-- TOC entry 3924 (class 1262 OID 25875)
|
||||||
-- Name: migrate; Type: DATABASE; Schema: -; Owner: migrate
|
-- Name: migrate; Type: DATABASE; Schema: -; Owner: migrate
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
DROP DATABASE IF EXISTS acceptance;
|
DROP DATABASE IF EXISTS acceptance WITH (FORCE);
|
||||||
CREATE DATABASE acceptance OWNER acceptance;
|
CREATE DATABASE acceptance OWNER acceptance;
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
DROP DATABASE IF EXISTS local;
|
DROP DATABASE IF EXISTS local WITH (FORCE);
|
||||||
CREATE DATABASE local OWNER local;
|
CREATE DATABASE local OWNER local;
|
||||||
|
@@ -1,2 +1,2 @@
|
|||||||
DROP DATABASE IF EXISTS testdb;
|
DROP DATABASE IF EXISTS testdb WITH (FORCE);
|
||||||
CREATE DATABASE testdb OWNER testdb;
|
CREATE DATABASE testdb OWNER testdb;
|
||||||
|
Reference in New Issue
Block a user