fix user
This commit is contained in:
@@ -46,7 +46,7 @@ in {
|
|||||||
setup = {
|
setup = {
|
||||||
trigger = "server";
|
trigger = "server";
|
||||||
script = pkgs.writeShellScript "setup" ''
|
script = pkgs.writeShellScript "setup" ''
|
||||||
PSQL="${pkgs.postgresql}/bin/psql"
|
PSQL="${pkgs.postgresql}/bin/psql -U postgres"
|
||||||
$PSQL -d "immich_db" -tAc "CREATE EXTENSION IF NOT EXISTS vector;"
|
$PSQL -d "immich_db" -tAc "CREATE EXTENSION IF NOT EXISTS vector;"
|
||||||
$PSQL -d "immich_db" -tAc "CREATE EXTENSION IF NOT EXISTS earthdistance;"
|
$PSQL -d "immich_db" -tAc "CREATE EXTENSION IF NOT EXISTS earthdistance;"
|
||||||
'';
|
'';
|
||||||
|
|||||||
Reference in New Issue
Block a user