Add a field to the builds table to store a Python traceback.
authorEvan Broder <broder@mit.edu>
Sun, 1 Nov 2009 16:55:50 +0000 (11:55 -0500)
committerEvan Broder <broder@mit.edu>
Sun, 1 Nov 2009 16:55:50 +0000 (11:55 -0500)
svn path=/trunk/packages/invirt-database/; revision=2537

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('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,
        Column('inserted_at', DateTime, nullable=False, default=datetime.datetime.utcnow))
 
 machine_access_table = Table('machine_access', meta,