Cephalon-Onni/backend/app/models/postgres/relics.py
2026-03-29 16:49:52 +02:00

12 lines
417 B
Python

from sqlalchemy import Column, String, Integer, Boolean, JSON
from models.postgres.base import Base
class Relic(Base):
__tablename__ = "relics"
id = Column(Integer, primary_key=True, autoincrement=True)
unique_name = Column(String, unique=True, index=True)
name = Column(String)
codex_secret = Column(Boolean, default=False)
description = Column(String)
relic_rewards = Column(JSON)