mirror of
https://github.com/kou029w/_.git
synced 2025-01-30 22:08:02 +00:00
7 lines
206 B
SQL
7 lines
206 B
SQL
CREATE ROLE anonymous;
|
|
ALTER ROLE anonymous SET statement_timeout = '1s';
|
|
CREATE TABLE users (
|
|
id UUID PRIMARY KEY DEFAULT gen_random_uuid(),
|
|
name TEXT
|
|
);
|
|
GRANT INSERT (name) ON users TO anonymous;
|