mirror of
https://github.com/cwinfo/powerdns-admin.git
synced 2025-06-14 20:16:05 +00:00
Adjust field length in History table
This commit is contained in:
@ -1137,7 +1137,7 @@ class Server(object):
|
||||
class History(db.Model):
|
||||
id = db.Column(db.Integer, primary_key = True)
|
||||
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_on = db.Column(db.DateTime, default=datetime.utcnow)
|
||||
|
||||
|
Reference in New Issue
Block a user