diff --git a/src/ttfrog/db/schema/character.py b/src/ttfrog/db/schema/character.py index 766d0bb..2afe3c9 100644 --- a/src/ttfrog/db/schema/character.py +++ b/src/ttfrog/db/schema/character.py @@ -107,9 +107,9 @@ class Ancestry(BaseObject, ModifierMixin): size: Mapped[str] = mapped_column(nullable=False, default="medium") speed: Mapped[int] = mapped_column(nullable=False, default=30, info={"min": 0, "max": 99}) - fly_speed: Mapped[int] = mapped_column(init=False, nullable=True, info={"min": 0, "max": 99}) - climb_speed: Mapped[int] = mapped_column(init=False, nullable=True, info={"min": 0, "max": 99}) - swim_speed: Mapped[int] = mapped_column(init=False, nullable=True, info={"min": 0, "max": 99}) + fly_speed: Mapped[int] = mapped_column(nullable=True, info={"min": 0, "max": 99}, default=None) + climb_speed: Mapped[int] = mapped_column(nullable=True, info={"min": 0, "max": 99}, default=None) + swim_speed: Mapped[int] = mapped_column(nullable=True, info={"min": 0, "max": 99}, default=None) _traits = relationship( "AncestryTraitMap", init=False, uselist=True, cascade="all,delete,delete-orphan", lazy="immediate"