##// END OF EJS Templates
mysql indexed keys cannot be larger thatn 256 chars, but 250 is enough for this purpose
marcink -
r3361:14556b46 beta
parent child Browse files
Show More
@@ -679,7 +679,7 b' class RepositoryField(Base, BaseModel):'
679
679
680 repo_field_id = Column("repo_field_id", Integer(), nullable=False, unique=True, default=None, primary_key=True)
680 repo_field_id = Column("repo_field_id", Integer(), nullable=False, unique=True, default=None, primary_key=True)
681 repository_id = Column("repository_id", Integer(), ForeignKey('repositories.repo_id'), nullable=False, unique=None, default=None)
681 repository_id = Column("repository_id", Integer(), ForeignKey('repositories.repo_id'), nullable=False, unique=None, default=None)
682 field_key = Column("field_key", String(1024, convert_unicode=False, assert_unicode=None), nullable=False)
682 field_key = Column("field_key", String(250, convert_unicode=False, assert_unicode=None))
683 field_label = Column("field_label", String(1024, convert_unicode=False, assert_unicode=None), nullable=False)
683 field_label = Column("field_label", String(1024, convert_unicode=False, assert_unicode=None), nullable=False)
684 field_value = Column("field_value", String(10000, convert_unicode=False, assert_unicode=None), nullable=False)
684 field_value = Column("field_value", String(10000, convert_unicode=False, assert_unicode=None), nullable=False)
685 field_desc = Column("field_desc", String(1024, convert_unicode=False, assert_unicode=None), nullable=False)
685 field_desc = Column("field_desc", String(1024, convert_unicode=False, assert_unicode=None), nullable=False)
General Comments 0
You need to be logged in to leave comments. Login now