Restricted area for faculty and booth staff (Staff only). Please enter access password to view real-time participant analytics and verify prizes.
Live Booth Analytics & Gift Verification Desk
experience_day_sessions chưa được khởi tạo trên Supabase. Dữ liệu đang được lưu cục bộ an toàn.
| Thời gian | Học sinh / Biệt danh | Arena | Số câu đúng | Độ chính xác | Điểm P&L | Thời gian còn | Trạng thái nhận quà |
|---|---|---|---|---|---|---|---|
| Đang tải dữ liệu phiên chơi... | |||||||
No missed questions recorded yet.
No missed questions recorded yet.
No missed questions recorded yet.
Mở Supabase Dashboard → SQL Editor → Dán đoạn mã này và bấm Run:
create table if not exists experience_day_sessions (
id uuid default gen_random_uuid() primary key,
participant_name text not null default 'Anonymous',
arena_id int not null,
arena_title text not null,
score int not null default 0,
pnl numeric not null default 0,
correct_count int not null default 0,
total_questions int not null default 5,
accuracy numeric not null default 0,
best_streak int not null default 0,
time_left_sec int not null default 0,
timed_out boolean not null default false,
is_prize_winner boolean not null default false,
missed_questions jsonb default '[]'::jsonb,
device_type text,
language text default 'vi',
created_at timestamptz default now()
);
alter table experience_day_sessions enable row level security;
create policy "Allow public insert" on experience_day_sessions for insert with check (true);
create policy "Allow public select" on experience_day_sessions for select using (true);