Commit cd91aa3
chore(db): deploy access_cutoff_notifications to cloud and regen types (#517)
Applies migration 20260725100000 to the linked Supabase project and
regenerates lib/database.types.ts from it. The cloud migration record was
realigned to the repo's 20260725100000 filename (apply_migration stamps its
own timestamp) so a later `supabase db push` doesn't try to re-run it.
Verified on cloud: 6 columns, RLS enabled with zero policies (the intended
deny-by-default — only service-role writers exist), unique constraint
access_cutoff_notifications_unique_stage present, 3 indexes. The only new
advisor finding is the corresponding INFO rls_enabled_no_policy, which is
the design, not a gap.
The diff also picks up get_published_lesson_counts, which existed on cloud
but was missing from the checked-in types — pre-existing drift, additive.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_0168MCSb3b3iWM5TSb25Rp3v1 parent 5641c1b commit cd91aa3
1 file changed
Lines changed: 43 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
17 | 52 | | |
18 | 53 | | |
19 | 54 | | |
| |||
6421 | 6456 | | |
6422 | 6457 | | |
6423 | 6458 | | |
| 6459 | + | |
| 6460 | + | |
| 6461 | + | |
| 6462 | + | |
| 6463 | + | |
| 6464 | + | |
| 6465 | + | |
6424 | 6466 | | |
6425 | 6467 | | |
6426 | 6468 | | |
| |||
6455 | 6497 | | |
6456 | 6498 | | |
6457 | 6499 | | |
| 6500 | + | |
6458 | 6501 | | |
6459 | 6502 | | |
6460 | 6503 | | |
| |||
0 commit comments