Skip to content

Commit

Permalink
Change data column data type of DomainTemplateRecord to TEXT
Browse files Browse the repository at this point in the history
  • Loading branch information
ngoduykhanh committed Apr 12, 2018
1 parent 52b6966 commit 8b7653a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -1561,7 +1561,7 @@ class DomainTemplateRecord(db.Model):
name = db.Column(db.String(255))
type = db.Column(db.String(64))
ttl = db.Column(db.Integer)
data = db.Column(db.String(255))
data = db.Column(db.Text)
status = db.Column(db.Boolean)
template_id = db.Column(db.Integer, db.ForeignKey('domain_template.id'))
template = db.relationship('DomainTemplate', back_populates='records')
Expand Down

0 comments on commit 8b7653a

Please sign in to comment.