웰스피
테이블 (5)
결제 (payment)
- idx (계좌) — 외래 키 → 계좌.idx — NOT NULL
- amount (수량) — not null
계좌 (account)
- idx (인덱스) — 기본 키 — NOT NULL
- idx (사용자) — 외래 키 → 유저.idx — NOT NULL
- money (잔액) — not null
- id (고유번호) — not null, unique
목표 (goal)
- idx (인덱스) — 기본 키 — NOT NULL
- idx (계좌) — 외래 키 → 계좌.idx — NOT NULL
- amount (수량) — not null
유저 (user)
- idx (인덱스) — 기본 키 — NOT NULL
- name (이름) — not null
- password (비밀번호) — not null
- email (이메일) — not null
이체 (transfer)
- idx (계좌) — 외래 키 → 계좌.idx — NOT NULL
- idx (이체자) — 외래 키 → 유저.idx — NOT NULL
- amount (수량) — not null