*/
-DROP SCHEMA offline CASCADE;
+DROP SCHEMA IF EXISTS offline CASCADE;
BEGIN;
-DROP SCHEMA stats CASCADE;
-DROP SCHEMA config CASCADE;
+DROP SCHEMA IF EXISTS stats CASCADE;
+DROP SCHEMA IF EXISTS config CASCADE;
BEGIN;
CREATE SCHEMA stats;
-DROP SCHEMA actor CASCADE;
+DROP SCHEMA IF EXISTS actor CASCADE;
BEGIN;
CREATE SCHEMA actor;
*/
-DROP SCHEMA permission CASCADE;
+DROP SCHEMA IF EXISTS permission CASCADE;
BEGIN;
CREATE SCHEMA permission;
*
*/
-DROP SCHEMA biblio CASCADE;
+DROP SCHEMA IF EXISTS biblio CASCADE;
BEGIN;
CREATE SCHEMA biblio;
*
*/
-DROP SCHEMA authority CASCADE;
+DROP SCHEMA IF EXISTS authority CASCADE;
BEGIN;
CREATE SCHEMA authority;
-DROP SCHEMA vandelay CASCADE;
+DROP SCHEMA IF EXISTS vandelay CASCADE;
BEGIN;
-DROP SCHEMA staging CASCADE;
+DROP SCHEMA IF EXISTS staging CASCADE;
BEGIN;
*
*/
-DROP SCHEMA metabib CASCADE;
+DROP SCHEMA IF EXISTS metabib CASCADE;
BEGIN;
CREATE SCHEMA metabib;
*
*/
-DROP SCHEMA asset CASCADE;
+DROP SCHEMA IF EXISTS asset CASCADE;
BEGIN;
*
*/
-DROP SCHEMA container CASCADE;
+DROP SCHEMA IF EXISTS container CASCADE;
BEGIN;
CREATE SCHEMA container;
*
*/
-DROP SCHEMA money CASCADE;
+DROP SCHEMA IF EXISTS money CASCADE;
BEGIN;
*
*/
-DROP SCHEMA action CASCADE;
+DROP SCHEMA IF EXISTS action CASCADE;
BEGIN;
COMMIT;
-DROP SCHEMA search CASCADE;
+DROP SCHEMA IF EXISTS search CASCADE;
BEGIN;
-------------------------------------------------------------------
-DROP SCHEMA acq CASCADE;
-DROP SCHEMA serial CASCADE;
+DROP SCHEMA IF EXISTS acq CASCADE;
+DROP SCHEMA IF EXISTS serial CASCADE;
BEGIN;
-DROP SCHEMA acq CASCADE;
+DROP SCHEMA IF EXISTS acq CASCADE;
BEGIN;
-DROP SCHEMA serial CASCADE;
+DROP SCHEMA IF EXISTS serial CASCADE;
BEGIN;
*/
-DROP SCHEMA search CASCADE;
+DROP SCHEMA IF EXISTS search CASCADE;
BEGIN;
*
*/
-DROP SCHEMA auditor CASCADE;
+DROP SCHEMA IF EXISTS auditor CASCADE;
BEGIN;
*
*/
-DROP SCHEMA extend_reporter CASCADE;
+DROP SCHEMA IF EXISTS extend_reporter CASCADE;
BEGIN;
*
*/
-DROP SCHEMA reporter CASCADE;
+DROP SCHEMA IF EXISTS reporter CASCADE;
BEGIN;