Made the build table's succeeded field nullable
authorGreg Brockman <gdb@mit.edu>
Tue, 6 Jul 2010 04:10:15 +0000 (00:10 -0400)
committerGreg Brockman <gdb@mit.edu>
Tue, 6 Jul 2010 04:10:15 +0000 (00:10 -0400)
svn path=/trunk/packages/invirt-database/; revision=3030

python/database/models.py

index 77f4109..9a0266e 100644 (file)
@@ -109,7 +109,7 @@ builds_table = Table('builds', meta,
        Column('commit', String, nullable=False),
        Column('version', String, nullable=True, default=None),
        Column('principal', String, nullable=False),
-       Column('succeeded', Boolean, nullable=False),
+       Column('succeeded', Boolean, nullable=True),
        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))