mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-28 01:10:44 +01:00
add default value to config
This commit is contained in:
@@ -13,7 +13,7 @@ class BackupPlan(models.Model):
|
||||
retention = models.IntegerField()
|
||||
type = models.CharField(max_length=5, default='AWS')
|
||||
lastRun = models.CharField(max_length=50, default='0:0:0')
|
||||
config = models.TextField()
|
||||
config = models.TextField(default='')
|
||||
|
||||
class WebsitesInPlan(models.Model):
|
||||
owner = models.ForeignKey(BackupPlan,on_delete=models.CASCADE)
|
||||
|
||||
Reference in New Issue
Block a user