fix casting typo
authorDomas Mituzas <midom@users.mediawiki.org>
Wed, 15 Sep 2004 07:14:38 +0000 (07:14 +0000)
committerDomas Mituzas <midom@users.mediawiki.org>
Wed, 15 Sep 2004 07:14:38 +0000 (07:14 +0000)
maintenance/postgresql/pg_tables.sql

index 5070ae8..5d5c561 100644 (file)
@@ -11,9 +11,9 @@ CREATE TABLE cur (
     cur_text text NOT NULL,
     cur_comment text,
     cur_user integer DEFAULT 0 NOT NULL,
-    cur_user_text varchar(255) DEFAULT '' NOT NULL,
+    cur_user_text varchar(255) DEFAULT ''::varchar NOT NULL,
     cur_timestamp timestamp without time zone NOT NULL,
-    cur_restrictions text DEFAULT '':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,