mirror of
https://github.com/usmannasir/cyberpanel.git
synced 2026-02-05 22:29:05 +01:00
bug fix: pdns status save
This commit is contained in:
@@ -7,7 +7,7 @@ from django.db import models
|
||||
|
||||
class PDNSStatus(models.Model):
|
||||
serverStatus = models.IntegerField(default=1)
|
||||
type = models.CharField(max_length=6, default='NATIVE')
|
||||
type = models.CharField(max_length=10, default='NATIVE')
|
||||
masterServer = models.CharField(max_length=200, default='')
|
||||
masterIP = models.CharField(max_length=200, default='')
|
||||
|
||||
|
||||
@@ -1406,7 +1406,7 @@ imap_folder_list_limit = 0
|
||||
pass
|
||||
|
||||
try:
|
||||
cursor.execute('ALTER TABLE `manageServices_pdnsstatus` CHANGE `type` `type` VARCHAR(6) NULL;')
|
||||
cursor.execute('ALTER TABLE `manageServices_pdnsstatus` CHANGE `type` `type` VARCHAR(10) NULL;')
|
||||
except:
|
||||
pass
|
||||
|
||||
|
||||
Reference in New Issue
Block a user