Commit 8fc74f22 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

Minor changes to schema; add some quotes around field names that

are now reserved words mysql 5.X. Skip to the next entry ...
parent a92ff88c
......@@ -2148,7 +2148,7 @@ CREATE TABLE state_triggers (
node_id varchar(32) NOT NULL default '',
op_mode varchar(20) NOT NULL default '',
state varchar(20) NOT NULL default '',
trigger tinytext NOT NULL,
`trigger` tinytext NOT NULL,
PRIMARY KEY (node_id,op_mode,state)
) TYPE=MyISAM;
......@@ -2200,7 +2200,7 @@ CREATE TABLE table_regex (
column_name varchar(64) NOT NULL default '',
column_type enum('text','int','float') default NULL,
check_type enum('regex','function','redirect') default NULL,
check tinytext NOT NULL,
`check` tinytext NOT NULL,
min int(11) NOT NULL default '0',
max int(11) NOT NULL default '0',
comment tinytext,
......@@ -2995,7 +2995,7 @@ CREATE TABLE widearea_updates (
roottag tinytext NOT NULL,
update_requested datetime NOT NULL default '0000-00-00 00:00:00',
update_started datetime default NULL,
force enum('yes','no') NOT NULL default 'no',
`force` enum('yes','no') NOT NULL default 'no',
PRIMARY KEY (IP)
) TYPE=MyISAM;
......
......@@ -3306,6 +3306,8 @@ last_net_act,last_cpu_act,last_ext_act);
4.53: Changes to templates.sql. Skip this revision for now.
4.54: Minor changes to schema; add some quotes around field names that
are now reserved words mysql 5.X. Skip to the next entry ...
\ No newline at end of file
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment