erd
Tables (3)
Untitled
- user_id — bigint — Primary key — NOT NULL
- Field
Untitled2
- user_challenge_id — Primary key — NOT NULL
saving_ledger (저축 원장 테이블)
- ledger_id — bigint — Primary key — NOT NULL
- user_challenge_id — bigint — Foreign key → Untitled2.user_challenge_id — NOT NULL
- user_id — bigint — Foreign key → Untitled.user_id — NOT NULL
- 저축금액 (amount) — bigint
- 생성시간 (created_at) — timestamp