mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-03 10:48:03 +08:00
Koji build states are actually integers.
This commit is contained in:
@@ -234,7 +234,7 @@ class ComponentBuild(Base):
|
||||
format = Column(String, nullable=False)
|
||||
build_id = Column(Integer) # This is the id of the build in koji
|
||||
# XXX: Consider making this a proper ENUM (or an int)
|
||||
state = Column(String)
|
||||
state = Column(Integer)
|
||||
|
||||
module_id = Column(Integer, ForeignKey('module_builds.id'), nullable=False)
|
||||
module_build = relationship('ModuleBuild', backref='component_builds', lazy=False)
|
||||
|
||||
Reference in New Issue
Block a user