+class ItemFlag(TableBase):
+ __tablename__ = 'item_flags'
+ id = Column(Integer, primary_key=True, nullable=False)
+ identifier = Column(Unicode(24), nullable=False)
+ name = Column(Unicode(64), nullable=False)
+
+class ItemFlagMap(TableBase):
+ __tablename__ = 'item_flag_map'
+ item_id = Column(Integer, ForeignKey('items.id'), primary_key=True, autoincrement=False, nullable=False)
+ item_flag_id = Column(Integer, ForeignKey('item_flags.id'), primary_key=True, autoincrement=False, nullable=False)
+
+class ItemFlavorText(TableBase):
+ __tablename__ = 'item_flavor_text'
+ item_id = Column(Integer, ForeignKey('items.id'), primary_key=True, autoincrement=False, nullable=False)
+ version_group_id = Column(Integer, ForeignKey('version_groups.id'), primary_key=True, autoincrement=False, nullable=False)
+ flavor_text = Column(Unicode(255), nullable=False)
+