Commit a2f83c99 authored by Leigh Stoller's avatar Leigh Stoller

Add "warned" slot to user_sslcerts for keeping track of email

expiration warnings.
parent 76ded778
......@@ -3841,6 +3841,7 @@ CREATE TABLE `user_sslcerts` (
`created` datetime default NULL,
`expires` datetime default NULL,
`revoked` datetime default NULL,
`warned` datetime default NULL,
`password` tinytext,
`encrypted` tinyint(1) NOT NULL default '0',
`DN` text,
......
#
# Add a warning date to user_sslcerts;
#
use strict;
use libdb;
sub DoUpdate($$$)
{
my ($dbhandle, $dbname, $version) = @_;
if (! DBSlotExists("user_sslcerts", "warned")) {
DBQueryFatal("alter table user_sslcerts add ".
" `warned` datetime default NULL after revoked");
}
return 0;
}
1;
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