fp/services/migrations-schema/migrations/00094_add-patrons-table.sql

8 lines
199 B
MySQL
Raw Normal View History

2024-11-05 19:48:21 +00:00
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;