aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHabeas Codice <habeascodice@federated.social>2016-07-11 10:55:42 -0700
committerHabeas Codice <habeascodice@federated.social>2016-07-11 10:55:42 -0700
commit983ccef87c8784f9a4e517a11196a3dae2c4e905 (patch)
tree1dbcf15c24309cced5a9b3a24493f1bb3e12537e
parentad83825d4f91b4c3da181614059cbeb86b3c529c (diff)
downloadvolse-hubzilla-983ccef87c8784f9a4e517a11196a3dae2c4e905.tar.gz
volse-hubzilla-983ccef87c8784f9a4e517a11196a3dae2c4e905.tar.bz2
volse-hubzilla-983ccef87c8784f9a4e517a11196a3dae2c4e905.zip
NOT NULL constraint without default and INSERT does not provide one
-rw-r--r--install/schema_postgres.sql2
1 files changed, 1 insertions, 1 deletions
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")
);