Fixed error with table creation
git-svn-id: https://develop.svn.wordpress.org/trunk@260 602fd350-edb4-49c9-b593-d223f7449a82
This commit is contained in:
parent
06e2c70d0e
commit
1740189e2b
@ -119,7 +119,7 @@ if (maybe_create_table($tablename, $ddl) == true) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$tablename = $tableoptiongroups;
|
$tablename = $tableoptiongroups;
|
||||||
$query = "
|
$ddl = "
|
||||||
CREATE TABLE $tableoptiongroups (
|
CREATE TABLE $tableoptiongroups (
|
||||||
group_id int(11) NOT NULL auto_increment,
|
group_id int(11) NOT NULL auto_increment,
|
||||||
group_name varchar(64) not null,
|
group_name varchar(64) not null,
|
||||||
@ -137,7 +137,7 @@ if (maybe_create_table($tablename, $ddl) == true) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$tablename = $tableoptiongroup_options;
|
$tablename = $tableoptiongroup_options;
|
||||||
$query = "
|
$ddl = "
|
||||||
CREATE TABLE $tableoptiongroup_options (
|
CREATE TABLE $tableoptiongroup_options (
|
||||||
group_id int(11) NOT NULL,
|
group_id int(11) NOT NULL,
|
||||||
option_id int(11) NOT NULL,
|
option_id int(11) NOT NULL,
|
||||||
@ -154,7 +154,7 @@ if (maybe_create_table($tablename, $ddl) == true) {
|
|||||||
}
|
}
|
||||||
|
|
||||||
$tablename = $tableoptionvalues;
|
$tablename = $tableoptionvalues;
|
||||||
$query = "
|
$ddl = "
|
||||||
CREATE TABLE $tableoptionvalues (
|
CREATE TABLE $tableoptionvalues (
|
||||||
option_id int(11) NOT NULL,
|
option_id int(11) NOT NULL,
|
||||||
optionvalue tinytext,
|
optionvalue tinytext,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user