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,7 +1,7 @@
#!/bin/sh
psql invidious -c "ALTER TABLE channel_videos DROP COLUMN live_now CASCADE"
psql invidious -c "ALTER TABLE channel_videos DROP COLUMN premiere_timestamp CASCADE"
psql invidious kemal -c "ALTER TABLE channel_videos DROP COLUMN live_now CASCADE"
psql invidious kemal -c "ALTER TABLE channel_videos DROP COLUMN premiere_timestamp CASCADE"
psql invidious -c "ALTER TABLE channel_videos ADD COLUMN live_now bool"
psql invidious -c "ALTER TABLE channel_videos ADD COLUMN premiere_timestamp timestamptz"
psql invidious kemal -c "ALTER TABLE channel_videos ADD COLUMN live_now bool"
psql invidious kemal -c "ALTER TABLE channel_videos ADD COLUMN premiere_timestamp timestamptz"