+class MoveFlag(TableBase):
+ __tablename__ = 'move_flags'
+ move_id = Column(Integer, ForeignKey('moves.id'), primary_key=True, nullable=False, autoincrement=False)
+ move_flag_type_id = Column(Integer, ForeignKey('move_flag_types.id'), primary_key=True, nullable=False, autoincrement=False)
+
+class MoveFlagType(TableBase):
+ __tablename__ = 'move_flag_types'
+ id = Column(Integer, primary_key=True, nullable=False)
+ name = Column(Unicode(32), nullable=False)
+ description = Column(rst.RstTextColumn(128), nullable=False)
+