Add role to psql scripts

This commit is contained in:
Omar Roth 2019-04-06 07:38:33 -05:00
parent 8d5f941829
commit c5001f3620
9 changed files with 25 additions and 25 deletions

View file

@ -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'"