Commit 30f94199 authored by Leigh B Stoller's avatar Leigh B Stoller
Browse files

Add admin_notes slot to apt_instances.

parent f03f83fb
......@@ -362,6 +362,7 @@ CREATE TABLE `apt_instances` (
`paniced_timestamp` datetime default NULL,
`admin_lockdown` tinyint(1) NOT NULL default '0',
`user_lockdown` tinyint(1) NOT NULL default '0',
`admin_notes` mediumtext,
`extension_code` varchar(32) default NULL,
`extension_reason` mediumtext,
`extension_history` mediumtext,
use strict;
use libdb;
sub DoUpdate($$$)
my ($dbhandle, $dbname, $version) = @_;
if (!DBSlotExists("apt_instances", "admin_notes")) {
DBQueryFatal("alter table apt_instances add " .
" `admin_notes` mediumtext after user_lockdown");
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