Commit e95a47a2 authored by Ryan Jackson's avatar Ryan Jackson
Browse files

Change quoted column names to use backticks

parent 53ed418d
......@@ -11,10 +11,10 @@ sub DoUpdate($$$)
if (!DBTableExists("subbosses")) {
DBQueryFatal( "CREATE TABLE subbosses (" .
" 'node_id' varchar(32) NOT NULL default ''," .
" 'service' varchar(20) NOT NULL default ''," .
" 'subboss_id' varchar(20) NOT NULL default ''," .
" PRIMARY KEY ('node_id','service')" .
" `node_id` varchar(32) NOT NULL default ''," .
" `service` varchar(20) NOT NULL default ''," .
" `subboss_id` varchar(20) NOT NULL default ''," .
" PRIMARY KEY (`node_id`,`service`)" .
") ENGINE=MyISAM DEFAULT CHARSET=latin1;");
}
DBQueryFatal("alter table reserved change erole erole " .
......
Supports Markdown
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