You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit c626296
Browse filesBrowse the repository at this point in the historyBrowse files
affiliate: store a merchant with update-or-insert (#255)
* affiliate: store a merchant with update-or-insert, since upsert cannot target lower(origin)
Registering a merchant in the directory answered "there is no unique or exclusion
constraint matching the ON CONFLICT specification" in production: the unique index
is on lower(origin) and PostgREST upsert only names columns. The fallback handled
the update but not the first insert.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CDEiDss9RWYibtmxSk5Gr2
* affiliate: the same update-or-insert for joins, whose index is also on lower(origin)
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01CDEiDss9RWYibtmxSk5Gr2
---------
Co-authored-by: Claude Fable 5.1 <noreply@anthropic.com>
0 commit comments