From 418526af16765b847876803e049b8568a0848722 Mon Sep 17 00:00:00 2001 From: Silvan Mosberger Date: Thu, 29 Aug 2019 02:25:15 +0200 Subject: [PATCH] Provide db user in migrate-db-3646395.sh --- config/migrate-scripts/migrate-db-3646395.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/migrate-scripts/migrate-db-3646395.sh b/config/migrate-scripts/migrate-db-3646395.sh index 915f364e..830b85f2 100755 --- a/config/migrate-scripts/migrate-db-3646395.sh +++ b/config/migrate-scripts/migrate-db-3646395.sh @@ -1,5 +1,5 @@ #!/bin/sh -psql invidious < config/sql/session_ids.sql +psql invidious kemal < config/sql/session_ids.sql psql invidious kemal -c "INSERT INTO session_ids (SELECT unnest(id), email, CURRENT_TIMESTAMP FROM users) ON CONFLICT (id) DO NOTHING" psql invidious kemal -c "ALTER TABLE users DROP COLUMN id"