Add a field to the builds table to store a Python traceback.
[invirt/packages/invirt-database.git] / python / database / models.py
index 06e7f3d..60cc025 100644 (file)
@@ -111,6 +111,7 @@ builds_table = Table('builds', meta,
        Column('principal', String, nullable=False),
        Column('succeeded', Boolean, nullable=False),
        Column('failed_stage', String, nullable=True, default=None),
+       Column('traceback', String, nullable=True, default=None),
        Column('inserted_at', DateTime, nullable=False, default=datetime.datetime.utcnow))
 
 machine_access_table = Table('machine_access', meta,