From 65f6b2b395cf7208f007cb47b304bc16fc84a735 Mon Sep 17 00:00:00 2001 From: Hidden Z Date: Tue, 26 Oct 2010 17:58:55 +0000 Subject: [PATCH] web/postkey/models.py: add new column "expires" Needed for storing info about when some host must be expired. --- web/postkey/models.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/web/postkey/models.py b/web/postkey/models.py index 9e196d7..c484e6c 100644 --- a/web/postkey/models.py +++ b/web/postkey/models.py @@ -9,6 +9,8 @@ class i2phost(models.Model): date_added = models.DateTimeField(auto_now_add=True) # Last time this host was up last_seen = models.DateTimeField(null=True) + # Scheduled expiration date + expires = models.DateField(null=True) # Not-activated hosts will not appear in exported hosts.txt activated = models.BooleanField(default=False) # Indicator for hosts added from external source