+builds_table = Table('builds', meta,
+ Column('build_id', Integer, primary_key=True, nullable=False),
+ Column('package', String, nullable=False),
+ Column('pocket', String, nullable=False),
+ Column('commit', String, nullable=False),
+ Column('version', 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))
+