mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-08 14:40:27 +00:00
Model change: Changing domain model type variable to 8 chars
PowerDNS 4.7 is supporting 2 new zone types: "producer" & "consumer" Due to the domain type variable is limited to 6 chars, PDA Zone update will fail if producer or cusomer zones exist. To solve this problem, this commit increases the lenght of the domain model type variable to 8 chars.
This commit is contained in:
parent
9088f93233
commit
c02cb3b7fe
@ -20,7 +20,7 @@ class Domain(db.Model):
|
||||
id = db.Column(db.Integer, primary_key=True)
|
||||
name = db.Column(db.String(255), index=True, unique=True)
|
||||
master = db.Column(db.String(128))
|
||||
type = db.Column(db.String(6), nullable=False)
|
||||
type = db.Column(db.String(8), nullable=False)
|
||||
serial = db.Column(db.BigInteger)
|
||||
notified_serial = db.Column(db.BigInteger)
|
||||
last_check = db.Column(db.Integer)
|
||||
|
Loading…
Reference in New Issue
Block a user