tarot
Tables (6)
card_result (카드-결과)
- id (아이디) — Primary key — NOT NULL
- card_id (카드 아이디) — Foreign key → tarot_cards.id — NOT NULL
- result_id (결과 아이디) — Foreign key → tarot_results.id — NOT NULL
- position (순서)
- is_reversed (방향)
tarot_cards (타로 카드)
- id (아이디) — Primary key — NOT NULL
- card_name (카드 이름)
- image_url (이미지 경로)
- meaning (기본 해석)
tarot_results (타로 결과)
- id (아이디) — Primary key — NOT NULL
- user_id (유저 아이디) — Foreign key → users.id — NOT NULL
- question (주제)
- total_comment (총 해석)
- created_at (생성 시간)
tarot_sessions (타로 세션)
- id (아이디) — Primary key — NOT NULL
- user_id (유저 아이디) — Foreign key → users.id — NOT NULL
- topic (주제)
- card_count (카드 개수)
- status (상태)
- picked_cards (뽑은 카드)
- ai_interpretation (ai 결과)
- created_at (생성 시간)
users (유저)
- id (아이디) — Primary key — NOT NULL
- username (유저 이름)
- password (비밀번호)
- token_count (토큰 개수)
- lase_refill (마지막 충전)
users (유저2)
- id (아이디) — Primary key — NOT NULL
- email (이메일)
- password (비밀번호)
- created_at (생성 시간)