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
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
https://github.com/supabase/pg_jsonschema
Is it possible to restrict the accepted fields to only those within the schema.
Eg the schema allows
tags
but the incoming data contains additional fieldstags2
along withtags
and it should throw an error.This would ensure that users don't create rows that include a lot of additional data that isn't required.
Beta Was this translation helpful? Give feedback.
All reactions