diff --git a/share/ddl/PostgreSQL/upgrade/5-6/001-auto.sql b/share/ddl/PostgreSQL/upgrade/5-6/001-auto.sql index c970017..f6c5187 100644 --- a/share/ddl/PostgreSQL/upgrade/5-6/001-auto.sql +++ b/share/ddl/PostgreSQL/upgrade/5-6/001-auto.sql @@ -34,7 +34,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") ); @@ -59,7 +59,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") );