wallets¶
Колонки¶
| колонка | тип | not null | default |
|---|---|---|---|
user_id |
"uuid" |
✅ | `` |
balance |
numeric(12,3) |
✅ | 0 |
updated_at |
timestamp with time zone |
✅ | "now"() |
Ограничения¶
CONSTRAINT "wallets_pkey" PRIMARY KEY ("user_id")CONSTRAINT "wallets_user_id_fkey" FOREIGN KEY ("user_id") REFERENCES "public"."users"("id") ON DELETE CASCADE
Внешние ключи¶
- (user_id) → users(id)