diff --git a/src/bio_scan/body_data/db.py b/src/bio_scan/body_data/db.py index 82cc81d..b351f7c 100644 --- a/src/bio_scan/body_data/db.py +++ b/src/bio_scan/body_data/db.py @@ -23,7 +23,7 @@ class Commander(Base): class Metadata(Base): __tablename__ = 'metadata' - key: Mapped[str] = mapped_column(nullable=False, unique=True) + key: Mapped[str] = mapped_column(nullable=False, primary_key=True) value: Mapped[str] = mapped_column(nullable=False, default='')