This commit is contained in:
Yûki VACHOT 2022-01-05 11:44:46 +01:00
parent 77c2eb972d
commit 2512f8e312
5 changed files with 23 additions and 11 deletions

View file

@ -2,7 +2,7 @@ from . import db
class Logs(db.Model):
__bind_key__ = 'flaskaled-srv2'
__bind_key__ = 'db-logs'
id = db.Column(db.Integer, primary_key=True)
date = db.Column(db.TIMESTAMP(), nullable=False)