From: Domas Mituzas Date: Mon, 6 Sep 2004 10:16:22 +0000 (+0000) Subject: specify DEFAULT for cur_restrictions X-Git-Tag: 1.5.0alpha1~2080 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=1fe82e7c7ea1edd5499407e9b7a09dcffd5a5b83;p=lhc%2Fweb%2Fwiklou.git specify DEFAULT for cur_restrictions --- diff --git a/maintenance/postgresql/pg_tables.sql b/maintenance/postgresql/pg_tables.sql index 5762df20d4..03e454080e 100644 --- a/maintenance/postgresql/pg_tables.sql +++ b/maintenance/postgresql/pg_tables.sql @@ -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,