Installer: pgsql main schema: fixed missing page_format in logs
authorDan
Sat, 14 Mar 2009 15:25:55 -0400
changeset 862 8356381e8d1e
parent 861 b550f497cdbf
child 863 195920655c6c
Installer: pgsql main schema: fixed missing page_format in logs
install/schemas/postgresql_stage2.sql
--- a/install/schemas/postgresql_stage2.sql	Sat Mar 14 15:25:23 2009 -0400
+++ b/install/schemas/postgresql_stage2.sql	Sat Mar 14 15:25:55 2009 -0400
@@ -43,6 +43,7 @@
   author varchar(63),
   edit_summary text,
   minor_edit smallint,
+  page_format varchar(16) NOT NULL DEFAULT 'wikitext',
   is_draft smallint NOT NULL DEFAULT 0,
   PRIMARY KEY ( log_id )
 );
@@ -364,7 +365,7 @@
   ('enano_version', '{{VERSION}}');
 
 INSERT INTO {{TABLE_PREFIX}}page_text(page_id, namespace, page_text, char_tag) VALUES
-  ('Main_Page', 'Article', E'{{MAIN_PAGE_CONTENT}}', '');
+  ('Main_Page', 'Article', '{{MAIN_PAGE_CONTENT}}', '');
   
 INSERT INTO {{TABLE_PREFIX}}logs(time_id, date_string, log_type, action, page_id, namespace, author, page_text) VALUES
   ({{UNIX_TIME}}, 'DEPRECATED', 'page', 'edit', 'Main_Page', 'Article', '{{ADMIN_USER}}', '{{MAIN_PAGE_CONTENT}}');