From 2320ec7e2391b41e5ece675fb7fa6c5dad3e6c28 Mon Sep 17 00:00:00 2001 From: Tom Bloor Date: Wed, 6 Sep 2017 16:15:07 +0100 Subject: [PATCH] Change postgres deploy to use false for boolean default value --- share/ddl/PostgreSQL/deploy/6/001-auto.sql | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/share/ddl/PostgreSQL/deploy/6/001-auto.sql b/share/ddl/PostgreSQL/deploy/6/001-auto.sql index 0d97746..21223b0 100644 --- a/share/ddl/PostgreSQL/deploy/6/001-auto.sql +++ b/share/ddl/PostgreSQL/deploy/6/001-auto.sql @@ -1,6 +1,6 @@ -- -- Created by SQL::Translator::Producer::PostgreSQL --- Created on Fri Sep 1 15:14:28 2017 +-- Created on Tue Sep 5 17:22:16 2017 -- ; -- @@ -76,7 +76,7 @@ CREATE TABLE "organisations" ( "postcode" character varying(16), "country" character varying(255), "sector" character varying(1), - "pending" boolean DEFAULT 0 NOT NULL, + "pending" boolean DEFAULT false NOT NULL, "submitted_by_id" integer, PRIMARY KEY ("id") ); @@ -109,7 +109,7 @@ CREATE TABLE "users" ( "email" text NOT NULL, "join_date" timestamp NOT NULL, "password" character varying(100) NOT NULL, - "is_admin" boolean DEFAULT 0 NOT NULL, + "is_admin" boolean DEFAULT false NOT NULL, PRIMARY KEY ("id"), CONSTRAINT "users_email" UNIQUE ("email") );