CAMP STUDIO
| ประเภท | จำนวน (ใบ/เหรียญ) | รวม |
|---|---|---|
| รวมเงินสดเปิดกะ | ฿0 | |
| ประเภท | จำนวน (ใบ/เหรียญ) | รวม |
|---|---|---|
| รวมเงินสดทั้งหมด | ฿0 | |
camp_studio_shift.htmlSUPABASE_URL และ SUPABASE_KEYcreate table shifts (
id text primary key,
branch text not null,
date text not null,
shift_type text not null,
data jsonb not null default '{}',
created_at timestamptz default now()
);
alter table shifts enable row level security;
create policy "insert" on shifts
for insert to anon with check (true);
create policy "select" on shifts
for select to anon using (true);
create index on shifts(branch, date);