- 0003_tablos.sql: tablos table with user_id FK + ON DELETE CASCADE + tablos_user_id_idx - tablos.sql: 5 named queries (ListTablosByUser, GetTabloByID, InsertTablo, UpdateTablo, DeleteTablo) - UpdateTablo sets updated_at = now() explicitly (Pitfall 7) - color not editable in UpdateTablo per Phase 3 scope - sqlc generates Tablo struct with pgtype.Text for description/color (not committed per .gitignore convention) |
||
|---|---|---|
| .. | ||
| .gitkeep | ||
| 0001_init.sql | ||
| 0002_auth.sql | ||
| 0003_tablos.sql | ||