Commit 6ec1ab02 authored by Leigh B Stoller's avatar Leigh B Stoller

Add noversioning flag to images table.

parent d6d8a2d1
......@@ -2182,6 +2182,7 @@ CREATE TABLE `images` (
`gid_idx` mediumint(8) unsigned NOT NULL default '0',
`uuid` varchar(40) NOT NULL default '',
`nodelta` tinyint(1) NOT NULL default '0',
`noversioning` tinyint(1) NOT NULL default '0',
`locked` datetime default NULL,
`locker_pid` int(11) default '0',
PRIMARY KEY (`imageid`),
......
#
# Image import and IMS stuff.
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("images", "noversioning")) {
DBQueryFatal("alter table images add ".
" `noversioning` tinyint(1) NOT NULL default '0' ".
" after nodelta");
}
return 0;
}
1;
# Local Variables:
# mode:perl
# End:
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