Commit e3dd614
chore(payments): regenerate types after deploying payout/enforcement migrations to cloud
Applies three previously-local-only migrations to the cloud Supabase project
(20260724120000_manual_payouts, 20260724130000_access_cutoff_enforcement,
20260724140000_transaction_split_snapshot) and repairs migration history to
match the repo filenames. Regenerates lib/database.types.ts for the columns
each adds (payouts.payout_method/note/recorded_by + nullable period_start/
period_end, transactions.school_percentage_snapshot).
Deploying the latter two (beyond #500's manual_payouts scope) was necessary
because getPayoutsOwed() already selects transactions.school_percentage_snapshot
on every /platform/payouts load — that column didn't exist on cloud, so the
page was erroring in production before this change.
Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CcZgbBpQtpKipPwQq38EjT1 parent 3a36763 commit e3dd614
1 file changed
Lines changed: 18 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4397 | 4397 | | |
4398 | 4398 | | |
4399 | 4399 | | |
| 4400 | + | |
4400 | 4401 | | |
4401 | 4402 | | |
4402 | | - | |
4403 | | - | |
| 4403 | + | |
| 4404 | + | |
| 4405 | + | |
| 4406 | + | |
4404 | 4407 | | |
4405 | 4408 | | |
4406 | 4409 | | |
| |||
4412 | 4415 | | |
4413 | 4416 | | |
4414 | 4417 | | |
| 4418 | + | |
4415 | 4419 | | |
4416 | 4420 | | |
4417 | | - | |
4418 | | - | |
| 4421 | + | |
| 4422 | + | |
| 4423 | + | |
| 4424 | + | |
4419 | 4425 | | |
4420 | 4426 | | |
4421 | 4427 | | |
| |||
4427 | 4433 | | |
4428 | 4434 | | |
4429 | 4435 | | |
| 4436 | + | |
4430 | 4437 | | |
4431 | 4438 | | |
4432 | | - | |
4433 | | - | |
| 4439 | + | |
| 4440 | + | |
| 4441 | + | |
| 4442 | + | |
4434 | 4443 | | |
4435 | 4444 | | |
4436 | 4445 | | |
| |||
5911 | 5920 | | |
5912 | 5921 | | |
5913 | 5922 | | |
| 5923 | + | |
5914 | 5924 | | |
5915 | 5925 | | |
5916 | 5926 | | |
| |||
5932 | 5942 | | |
5933 | 5943 | | |
5934 | 5944 | | |
| 5945 | + | |
5935 | 5946 | | |
5936 | 5947 | | |
5937 | 5948 | | |
| |||
5953 | 5964 | | |
5954 | 5965 | | |
5955 | 5966 | | |
| 5967 | + | |
5956 | 5968 | | |
5957 | 5969 | | |
5958 | 5970 | | |
| |||
0 commit comments