Commit 3b415cce authored by Leigh Stoller's avatar Leigh Stoller

Add flag for notifying users that their unused reservation is due

to be canceled.
parent 0dafce90
......@@ -2232,6 +2232,7 @@ CREATE TABLE `future_reservations` (
`approved` datetime DEFAULT NULL,
`approver` varchar(8) DEFAULT NULL,
`notified` datetime DEFAULT NULL,
`notified_unused` datetime DEFAULT NULL,
`uuid` varchar(40) NOT NULL default '',
use strict;
use libdb;
use emdb;
sub DoUpdate($$$)
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("future_reservations", "notified_unused")) {
DBQueryFatal("alter table future_reservations add ".
" `notified_unused` datetime DEFAULT NULL after notified");
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