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):