mirror of
https://github.com/immich-app/immich.git
synced 2025-01-07 00:50:23 -05:00
docs: fix vectors grant... again (#8860)
This commit is contained in:
parent
17dc12cf7d
commit
f58886514d
1 changed files with 1 additions and 2 deletions
|
@ -56,8 +56,7 @@ ALTER DATABASE <immichdatabasename> OWNER TO <immichdbusername>;
|
||||||
CREATE EXTENSION vectors;
|
CREATE EXTENSION vectors;
|
||||||
CREATE EXTENSION earthdistance CASCADE;
|
CREATE EXTENSION earthdistance CASCADE;
|
||||||
ALTER DATABASE <immichdatabasename> SET search_path TO "$user", public, vectors;
|
ALTER DATABASE <immichdatabasename> SET search_path TO "$user", public, vectors;
|
||||||
GRANT USAGE ON SCHEMA vectors TO <immichdbusername>;
|
ALTER SCHEMA vectors OWNER TO <immichdbusername>;
|
||||||
ALTER DEFAULT PRIVILEGES IN SCHEMA vectors GRANT SELECT ON TABLES TO <immichdbusername>;
|
|
||||||
COMMIT;
|
COMMIT;
|
||||||
```
|
```
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue