From c5001f3620d6a9d4d24ce63afdf892a690b16440 Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Sat, 6 Apr 2019 07:38:33 -0500 Subject: Add role to psql scripts --- config/migrate-scripts/migrate-db-8e884fe.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config/migrate-scripts/migrate-db-8e884fe.sh') diff --git a/config/migrate-scripts/migrate-db-8e884fe.sh b/config/migrate-scripts/migrate-db-8e884fe.sh index 095c7632..1c8dafd1 100755 --- a/config/migrate-scripts/migrate-db-8e884fe.sh +++ b/config/migrate-scripts/migrate-db-8e884fe.sh @@ -1,5 +1,5 @@ #!/bin/sh -psql invidious -c "ALTER TABLE channels DROP COLUMN subscribed" -psql invidious -c "ALTER TABLE channels ADD COLUMN subscribed timestamptz" -psql invidious -c "UPDATE channels SET subscribed = '2019-01-01 00:00:00+00'" +psql invidious kemal -c "ALTER TABLE channels DROP COLUMN subscribed" +psql invidious kemal -c "ALTER TABLE channels ADD COLUMN subscribed timestamptz" +psql invidious kemal -c "UPDATE channels SET subscribed = '2019-01-01 00:00:00+00'" -- cgit v1.2.3