mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2024-12-28 14:05:41 +00:00
Adjust field length in History table
This commit is contained in:
parent
194d95af57
commit
460b4b65fe
@ -1137,7 +1137,7 @@ class Server(object):
|
|||||||
class History(db.Model):
|
class History(db.Model):
|
||||||
id = db.Column(db.Integer, primary_key = True)
|
id = db.Column(db.Integer, primary_key = True)
|
||||||
msg = db.Column(db.String(256))
|
msg = db.Column(db.String(256))
|
||||||
detail = db.Column(db.Text())
|
detail = db.Column(db.Text().with_variant(db.Text(length=2**24-2), 'mysql'))
|
||||||
created_by = db.Column(db.String(128))
|
created_by = db.Column(db.String(128))
|
||||||
created_on = db.Column(db.DateTime, default=datetime.utcnow)
|
created_on = db.Column(db.DateTime, default=datetime.utcnow)
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user