Commit 09f5daf1 authored by Leigh B. Stoller's avatar Leigh B. Stoller
Browse files

A Utah only change; version of webnews for protogeni.

parent cc3d3a36
......@@ -4074,6 +4074,23 @@ CREATE TABLE `webnews` (
KEY `date` (`date`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Table structure for table `webnews_protogeni`
--
DROP TABLE IF EXISTS `webnews_protogeni`;
CREATE TABLE `webnews` (
`msgid` int(11) NOT NULL auto_increment,
`subject` tinytext,
`date` datetime default NULL,
`author` varchar(32) default NULL,
`body` text,
`archived` tinyint(1) NOT NULL default '0',
`archived_date` datetime default NULL,
PRIMARY KEY (`msgid`),
KEY `date` (`date`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
-- Table structure for table `widearea_accounts`
--
......
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBTableExists("webnews_protogeni")) {
DBQueryFatal("CREATE TABLE webnews_protogeni like webnews");
}
return 0;
}
1;
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