   PRIMARY KEY  (id,version)
 ) TYPE=MyISAM;
 
-CREATE TABLE hw_pages (
+rename table hw_pages to tiki_hw_pages;
+CREATE TABLE tiki_hw_pages (
   id int(14) NOT NULL auto_increment,
   assignmentId int(14) NOT NULL default '0',
   studentName varchar(200) NOT NULL default '',

# Homework tables start
#
#added on 2004-4-27 ggeller
#

CREATE TABLE hw_actionlog (
  action varchar(255) NOT NULL default '',
  lastModif int(14) NOT NULL default '0',
  pageId int(14) default NULL,

  PRIMARY KEY  (id)
) TYPE=MyISAM;

rename table hw_history to tiki_hw_history;
CREATE TABLE hw_pages_history (
  id int(14) NOT NULL default '0',
  version int(8) NOT NULL default '0',
  lastModif int(14) NOT NULL default '0',
