Commit a67fbdd0 authored by Leigh Stoller's avatar Leigh Stoller

Rename column, not sure where my head was when I picked that name,

but one can guess.
parent 2a9a5840
......@@ -2138,7 +2138,7 @@ CREATE TABLE `future_reservations` (
`type` varchar(30) NOT NULL DEFAULT '',
`start` datetime DEFAULT NULL,
`end` datetime DEFAULT NULL,
`destruct` datetime DEFAULT NULL,
`cancel` datetime DEFAULT NULL,
`uid` varchar(8) NOT NULL DEFAULT '',
`uid_idx` mediumint(8) unsigned NOT NULL DEFAULT '0',
`notes` mediumtext,
......
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("future_reservations", "cancel")) {
DBQueryFatal("alter table future_reservations change destruct ".
" `cancel` datetime DEFAULT NULL");
}
return 0;
}
# 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