Commit c03281ba authored by Leigh B Stoller's avatar Leigh B Stoller

Ack, back out last change. I hated it.

parent 9e8d115d
......@@ -2319,8 +2319,8 @@ DROP TABLE IF EXISTS `image_deletions`;
CREATE TABLE `image_deletions` (
`urn` varchar(128) default NULL,
`image_uuid` varchar(40) NOT NULL default '',
`version` int(8) unsigned default NULL,
`deleted` datetime default NULL
`deleted` datetime default NULL,
PRIMARY KEY (`image_uuid`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1;
--
......
......@@ -5,12 +5,9 @@ sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("image_deletions", "version")) {
DBQueryFatal("alter table image_deletions add ".
" `version` int(8) unsigned default NULL ".
" after image_uuid");
}
DBQueryFatal("alter table image_deletions drop primary key");
#
# This has been nullified; made a mistake.
#
return 0;
}
......
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