Update models.py

add missing default of 0 being unlimited retention.
This commit is contained in:
WhatTheServer 2021-04-16 08:34:30 -04:00 committed by GitHub
parent d0edbc3e68
commit fc49994c6a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -21,7 +21,7 @@ class BackupJob(models.Model):
websiteData = models.IntegerField()
websiteDatabases = models.IntegerField()
websiteDataEmails = models.IntegerField()
retention = models.IntegerField()
retention = models.IntegerField(default=0) # 0 being unlimited retention
class JobSites(models.Model):