diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-04-06 07:38:33 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-04-06 07:38:33 -0500 |
| commit | c5001f3620d6a9d4d24ce63afdf892a690b16440 (patch) | |
| tree | 39f34e178887209851bd2b0aba73a80412e0ea1d /config/migrate-scripts/migrate-db-8e884fe.sh | |
| parent | 8d5f9418297ac8b43540c571b466da82dd9fac0f (diff) | |
| download | invidious-c5001f3620d6a9d4d24ce63afdf892a690b16440.tar.gz invidious-c5001f3620d6a9d4d24ce63afdf892a690b16440.tar.bz2 invidious-c5001f3620d6a9d4d24ce63afdf892a690b16440.zip | |
Add role to psql scripts
Diffstat (limited to 'config/migrate-scripts/migrate-db-8e884fe.sh')
| -rwxr-xr-x | config/migrate-scripts/migrate-db-8e884fe.sh | 6 |
1 files changed, 3 insertions, 3 deletions
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'" |
