1
0

Remove 'Engine=InnoDB' stanzas from table creation SQL. We now use the

MySQL server default at table creation time.
This commit is contained in:
Bharat Mediratta 2009-09-16 22:15:17 -07:00
parent 8760cbe45d
commit bf4f729ba7
4 changed files with 8 additions and 8 deletions

View File

@ -26,14 +26,14 @@ class basket_installer {
`cost` INTEGER(9) default 0,
`description` varchar(1024),
PRIMARY KEY (`id`))
ENGINE=InnoDB DEFAULT CHARSET=utf8;");
DEFAULT CHARSET=utf8;");
$db->query("CREATE TABLE IF NOT EXISTS {product_overrides} (
`id` int(9) NOT NULL auto_increment,
`item_id` int(9) NOT NULL,
`none` BOOLEAN default false,
PRIMARY KEY (`id`))
ENGINE=InnoDB DEFAULT CHARSET=utf8;");
DEFAULT CHARSET=utf8;");
$db->query("CREATE TABLE IF NOT EXISTS {item_products} (
`id` int(9) NOT NULL auto_increment,
@ -42,7 +42,7 @@ class basket_installer {
`include` BOOLEAN default false,
`cost` INTEGER(9) default -1,
PRIMARY KEY (`id`))
ENGINE=InnoDB DEFAULT CHARSET=utf8;");
DEFAULT CHARSET=utf8;");
product::create("4x6",5,"4\"x6\" print");
product::create("8x10",25,"8\"x10\" print");

View File

@ -31,7 +31,7 @@ class tagfaces_installer {
`y2` int(9) NOT NULL,
`description` varchar(2048) default NULL,
PRIMARY KEY (`id`))
ENGINE=InnoDB DEFAULT CHARSET=utf8;");
DEFAULT CHARSET=utf8;");
$db->query("CREATE TABLE IF NOT EXISTS {items_notes} (
`id` int(9) NOT NULL auto_increment,
@ -43,7 +43,7 @@ class tagfaces_installer {
`title` varchar(64) NOT NULL,
`description` varchar(2048) default NULL,
PRIMARY KEY (`id`))
ENGINE=InnoDB DEFAULT CHARSET=utf8;");
DEFAULT CHARSET=utf8;");
// Set the module's version number.
module::set_version("tagfaces", 2);
@ -64,7 +64,7 @@ class tagfaces_installer {
`title` varchar(64) NOT NULL,
`description` varchar(2048) default NULL,
PRIMARY KEY (`id`))
ENGINE=InnoDB DEFAULT CHARSET=utf8;");
DEFAULT CHARSET=utf8;");
module::set_version("tagfaces", $version = 2);
}

View File

@ -29,7 +29,7 @@ class tagsmap_installer {
`description` varchar(2048) default NULL,
PRIMARY KEY (`id`),
KEY(`tag_id`, `id`))
ENGINE=InnoDB DEFAULT CHARSET=utf8;");
DEFAULT CHARSET=utf8;");
// Set the module's version number.
module::set_version("tagsmap", 1);

View File

@ -26,7 +26,7 @@ class user_homes_installer {
`home` int(9) default NULL,
PRIMARY KEY (`id`),
UNIQUE KEY(`id`))
ENGINE=InnoDB DEFAULT CHARSET=utf8;");
DEFAULT CHARSET=utf8;");
module::set_version("user_homes", 1);
}