From fb58db2ead27cf36a6d0586dc86f8c94c02d7926 Mon Sep 17 00:00:00 2001 From: Holger Levsen Date: Wed, 2 Nov 2011 12:39:49 +0100 Subject: [PATCH] work in progress --- kernel_persistence.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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): -- 2.39.5