Repository navigation
Commit fa42fe1
fix(cdk): upgrade RDS Postgres 14.5 -> 15.8 to match schema (NULLS NOT DISTINCT)
Migration 0029 adds `UNIQUE NULLS NOT DISTINCT` on point_event (the dedupe /
anti-gaming key), which is Postgres 15+ syntax. The RDS instance was pinned to
14.5, so `db:migrate` failed on every Vercel deploy. Bump the engine to 15.8
(local dev already runs postgres:15-alpine) and set allowMajorVersionUpgrade so
RDS accepts the major-version change.
NOTE: requires `cdk deploy` of the StorageStack to take effect (in-place RDS
major upgrade, brief downtime). Vercel stays red until that deploy completes.
Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>1 parent 1ba6c4a commit fa42fe1
1 file changed
Lines changed: 8 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
145 | 145 | | |
146 | 146 | | |
147 | 147 | | |
148 | | - | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
149 | 152 | | |
150 | 153 | | |
151 | 154 | | |
| |||
164 | 167 | | |
165 | 168 | | |
166 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
167 | 174 | | |
168 | 175 | | |
169 | 176 | | |
| |||
0 commit comments