specify DEFAULT for cur_restrictions
authorDomas Mituzas <midom@users.mediawiki.org>
Mon, 6 Sep 2004 10:16:22 +0000 (10:16 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Mon, 6 Sep 2004 10:16:22 +0000 (10:16 +0000)
maintenance/postgresql/pg_tables.sql

index 5762df2..03e4540 100644 (file)
@@ -13,7 +13,7 @@ CREATE TABLE cur (
     cur_user integer NOT NULL,
     cur_user_text varchar(255) NOT NULL,
     cur_timestamp timestamp without time zone NOT NULL,
-    cur_restrictions text NOT NULL,
+    cur_restrictions text DEFAULT '':text NOT NULL,
     cur_counter bigint DEFAULT 0 NOT NULL,
     cur_is_redirect smallint DEFAULT 0 NOT NULL,
     cur_minor_edit smallint DEFAULT 0 NOT NULL,