+ short_effect = Column(Unicode(256), nullable=False)
+ effect = Column(Unicode(5120), nullable=False)
+
+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)
+
+class MoveFlavorText(TableBase):
+ __tablename__ = 'move_flavor_text'
+ move_id = Column(Integer, ForeignKey('moves.id'), primary_key=True, nullable=False, autoincrement=False)
+ generation_id = Column(Integer, ForeignKey('generations.id'), primary_key=True, nullable=False, autoincrement=False)
+ flavor_text = Column(Unicode(255), nullable=False)
+
+class MoveName(TableBase):
+ __tablename__ = 'move_names'
+ move_id = Column(Integer, ForeignKey('moves.id'), primary_key=True, nullable=False, autoincrement=False)
+ language_id = Column(Integer, ForeignKey('languages.id'), primary_key=True, nullable=False, autoincrement=False)
+ name = Column(Unicode(16), nullable=False)