mirror of
https://github.com/iio612/immich-native.git
synced 2026-04-18 04:11:07 +00:00
Install VectorChord extension to immich DB as well
Signed-off-by: Juhyung Park <qkrwngud825@gmail.com>
This commit is contained in:
@@ -119,7 +119,10 @@ postgres=# create database immich;
|
|||||||
postgres=# create user immich with encrypted password 'YOUR_STRONG_RANDOM_PW';
|
postgres=# create user immich with encrypted password 'YOUR_STRONG_RANDOM_PW';
|
||||||
postgres=# grant all privileges on database immich to immich;
|
postgres=# grant all privileges on database immich to immich;
|
||||||
postgres=# ALTER USER immich WITH SUPERUSER;
|
postgres=# ALTER USER immich WITH SUPERUSER;
|
||||||
postgres=# CREATE EXTENSION IF NOT EXISTS vector;
|
postgres=# CREATE EXTENSION IF NOT EXISTS vchord CASCADE;
|
||||||
|
postgres=# \q
|
||||||
|
|
||||||
|
sudo -u immich psql -U immich
|
||||||
postgres=# CREATE EXTENSION IF NOT EXISTS vchord CASCADE;
|
postgres=# CREATE EXTENSION IF NOT EXISTS vchord CASCADE;
|
||||||
postgres=# \q
|
postgres=# \q
|
||||||
```
|
```
|
||||||
|
|||||||
Reference in New Issue
Block a user