From 983ccef87c8784f9a4e517a11196a3dae2c4e905 Mon Sep 17 00:00:00 2001 From: Habeas Codice Date: Mon, 11 Jul 2016 10:55:42 -0700 Subject: [PATCH] NOT NULL constraint without default and INSERT does not provide one --- install/schema_postgres.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install/schema_postgres.sql b/install/schema_postgres.sql index ceee30430..f0c41dc2a 100644 --- a/install/schema_postgres.sql +++ b/install/schema_postgres.sql @@ -1052,7 +1052,7 @@ create index "reg_uid" on register ("uid"); CREATE TABLE "session" ( "id" serial, "sid" text NOT NULL, - "sess_data" text NOT NULL, + "sess_data" text NOT NULL DEFAULT '', "expire" numeric(20) NOT NULL, PRIMARY KEY ("id") );