8 lines
421 B
Plaintext
8 lines
421 B
Plaintext
-- Example: create an extra DB user (e.g. read-only). Not executed — rename to 00-create-extra-user.sql to enable.
|
|
-- Scripts in this folder run in alphabetical order; 00-* runs before 01-schema.sql.
|
|
|
|
-- CREATE USER rag_readonly WITH PASSWORD 'change_me';
|
|
-- GRANT CONNECT ON DATABASE rag TO rag_readonly;
|
|
-- GRANT USAGE ON SCHEMA public TO rag_readonly;
|
|
-- GRANT SELECT ON ALL TABLES IN SCHEMA public TO rag_readonly;
|