mirror of
https://github.com/YunoHost/tartiflette.git
synced 2024-09-03 20:06:08 +02:00
Fix nullable fields
This commit is contained in:
parent
f633c608fd
commit
a59ea92eb5
1 changed files with 3 additions and 3 deletions
|
@ -154,10 +154,10 @@ class AppCIResult(db.Model):
|
|||
|
||||
results = db.Column(db.PickleType)
|
||||
|
||||
date = db.Column(db.DateTime)
|
||||
level = db.Column(db.Integer)
|
||||
date = db.Column(db.DateTime, nullable=True)
|
||||
level = db.Column(db.Integer, nullable=True)
|
||||
url = db.Column(db.String(128), nullable=False)
|
||||
commit = db.Column(db.String(64), nullable=False)
|
||||
commit = db.Column(db.String(64), nullable=True)
|
||||
|
||||
def __repr__(self):
|
||||
return '<AppTestResults %s>' % self.date
|
||||
|
|
Loading…
Reference in a new issue