| Column | Type | 
|---|---|
| id | PK | 
| user_id | uuid(from Supabase Auth) | 
| Column | Type |
| -- Read | |
| create policy "Allow authorized read access" | |
| on leaves for select | |
| to authenticated | |
| using (authorize('leaves.read')); | |
| -- Create | |
| create policy "Allow authorized create access" | |
| on leaves for insert | |
| to authenticated | 
| -- Table: leaves | |
| create policy "admin can delete" on leaves for delete using (...); | |
| create policy "manager can update" on leaves for update using (...); | |
| create policy "employee can read" on leaves for select using (...); | 
HTML
<input type="file" name="myFile" id="myFile">
      <button class="upload">Upload</button><br>