mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-11-09 23:20:27 +00:00
Change data column data type of DomainTemplateRecord to TEXT
This commit is contained in:
parent
52b6966c83
commit
8b7653ad4a
@ -1561,7 +1561,7 @@ class DomainTemplateRecord(db.Model):
|
|||||||
name = db.Column(db.String(255))
|
name = db.Column(db.String(255))
|
||||||
type = db.Column(db.String(64))
|
type = db.Column(db.String(64))
|
||||||
ttl = db.Column(db.Integer)
|
ttl = db.Column(db.Integer)
|
||||||
data = db.Column(db.String(255))
|
data = db.Column(db.Text)
|
||||||
status = db.Column(db.Boolean)
|
status = db.Column(db.Boolean)
|
||||||
template_id = db.Column(db.Integer, db.ForeignKey('domain_template.id'))
|
template_id = db.Column(db.Integer, db.ForeignKey('domain_template.id'))
|
||||||
template = db.relationship('DomainTemplate', back_populates='records')
|
template = db.relationship('DomainTemplate', back_populates='records')
|
||||||
|
Loading…
Reference in New Issue
Block a user