From: Holger Levsen Date: Wed, 2 Nov 2011 11:39:49 +0000 (+0100) Subject: work in progress X-Git-Url: https://git.uhu-banane.org/?a=commitdiff_plain;h=fb58db2ead27cf36a6d0586dc86f8c94c02d7926;p=profitbricks%2Fjenkins-build-scripts.git work in progress --- diff --git a/kernel_persistence.py b/kernel_persistence.py index 7165676..1971474 100644 --- a/kernel_persistence.py +++ b/kernel_persistence.py @@ -30,10 +30,10 @@ logger.addHandler(stream_handler) class KernelVersion(Base): __tablename__ = 'branch_kernel_version' - id = Column(Integer, Sequence('branch_id'), primary_key=True) + id = Column(Integer, Sequence('identifier_id'), primary_key=True) identifier = Column(String(255), unique=True, nullable=False) - branch_name = Column(String(255), unique=True, nullable=False) last_version = Column(Integer, nullable=False) + branch_name = Column(String(255), unique=True, nullable=False) pb_modules = Column(String(255), unique=True, nullable=False) def __init__(self, identifier, last_version, branch_name, pb_modules):