mirror of
https://github.com/yu-i-i/overleaf-cep.git
synced 2025-07-27 17:00:06 +02:00

* [history-v1] add readOnly lookup for raw chunks Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com> * [history-v1] reduce min poolsize for readOnly pool to 0 Co-authored-by: Brian Gough <brian.gough@overleaf.com> --------- Co-authored-by: Eric Mc Sween <eric.mcsween@overleaf.com> Co-authored-by: Brian Gough <brian.gough@overleaf.com> GitOrigin-RevId: a711c4ee4f3ea3775bd090e620d1ef52689fa1f4
2 lines
140 B
SQL
2 lines
140 B
SQL
CREATE USER read_only PASSWORD 'password';
|
|
ALTER DEFAULT PRIVILEGES FOR USER overleaf IN SCHEMA public GRANT SELECT ON TABLES TO read_only;
|