install/schemas/postgresql_stage2.sql
changeset 862 8356381e8d1e
parent 857 f3a5a276208c
child 923 9ef3ccac13de
--- 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}}');