CREATE TABLE api.patrons ( id uuid PRIMARY KEY DEFAULT gen_random_uuid(), full_name TEXT NOT NULL, link TEXT ); GRANT all ON api.patrons TO automation; GRANT SELECT ON api.patrons TO web_anon;