Commit 79e8a47c authored by Gary Wong's avatar Gary Wong
Browse files

Record creation time for new reservations.

parent 12ef0b4e
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("future_reservations", "created")) {
DBQueryFatal("ALTER TABLE future_reservations ADD " .
"`created` timestamp NOT NULL " .
"default CURRENT_TIMESTAMP");
}
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