Commit 8164d2b3 authored by Jonathon Duerig's avatar Jonathon Duerig

Fix to previous revision.

parent aa18e9e3
...@@ -353,10 +353,10 @@ CREATE TABLE `apt_announcements` ( ...@@ -353,10 +353,10 @@ CREATE TABLE `apt_announcements` (
`uid_idx` int(10) default NULL, `uid_idx` int(10) default NULL,
`genesis` varchar(64) NOT NULL default 'emulab', `genesis` varchar(64) NOT NULL default 'emulab',
`retired` tinyint(1) NOT NULL default '0', `retired` tinyint(1) NOT NULL default '0',
`text` mediumtext NOT NULL default '', `text` mediumtext,
`style` varchar(64) NOT NULL default 'alert-info', `style` varchar(64) NOT NULL default 'alert-info',
`link_label` tinytext NOT NULL default '', `link_label` tinytext,
`link_url` tinytext NOT NULL default '', `link_url` tinytext,
PRIMARY KEY (`idx`) PRIMARY KEY (`idx`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1; ) ENGINE=MyISAM DEFAULT CHARSET=latin1;
......
...@@ -12,10 +12,10 @@ sub DoUpdate($$$) ...@@ -12,10 +12,10 @@ sub DoUpdate($$$)
" `uid_idx` int(10) default NULL, ". " `uid_idx` int(10) default NULL, ".
" `genesis` varchar(64) NOT NULL default 'emulab', ". " `genesis` varchar(64) NOT NULL default 'emulab', ".
" `retired` tinyint(1) NOT NULL default '0', ". " `retired` tinyint(1) NOT NULL default '0', ".
" `text` mediumtext NOT NULL default '', ". " `text` mediumtext, ".
" `style` varchar(64) NOT NULL default 'alert-info', ". " `style` varchar(64) NOT NULL default 'alert-info', ".
" `link_label` tinytext NOT NULL default '', ". " `link_label` tinytext, ".
" `link_url` tinytext NOT NULL default '', ". " `link_url` tinytext, ".
" PRIMARY KEY (`idx`) ". " PRIMARY KEY (`idx`) ".
") ENGINE=MyISAM DEFAULT CHARSET=latin1; "); ") ENGINE=MyISAM DEFAULT CHARSET=latin1; ");
} }
......
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