diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-03-22 10:32:42 -0500 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-03-22 14:52:57 -0500 |
| commit | f0658bbd092af23e097ac52a1587688ec9ee17df (patch) | |
| tree | a88a692bc58e5b516216f1bcc007321d49624bb8 /config | |
| parent | 661e07c8dbe046c2f43849efe7fb24477b547061 (diff) | |
| download | invidious-f0658bbd092af23e097ac52a1587688ec9ee17df.tar.gz invidious-f0658bbd092af23e097ac52a1587688ec9ee17df.tar.bz2 invidious-f0658bbd092af23e097ac52a1587688ec9ee17df.zip | |
Add 'liveNow' to subscription feed
Diffstat (limited to 'config')
| -rwxr-xr-x | config/migrate-scripts/migrate-db-6e51189.sh | 4 | ||||
| -rwxr-xr-x | config/migrate-scripts/migrate-db-8e884fe.sh (renamed from config/migrate-scripts/migrate-db-8e884fe1.sh) | 0 |
2 files changed, 4 insertions, 0 deletions
diff --git a/config/migrate-scripts/migrate-db-6e51189.sh b/config/migrate-scripts/migrate-db-6e51189.sh new file mode 100755 index 00000000..80f222bb --- /dev/null +++ b/config/migrate-scripts/migrate-db-6e51189.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +psql invidious -c "ALTER TABLE channel_videos ADD COLUMN live_now bool;" +psql invidious -c "UPDATE channel_videos SET live_now = false;"
\ No newline at end of file diff --git a/config/migrate-scripts/migrate-db-8e884fe1.sh b/config/migrate-scripts/migrate-db-8e884fe.sh index 095c7632..095c7632 100755 --- a/config/migrate-scripts/migrate-db-8e884fe1.sh +++ b/config/migrate-scripts/migrate-db-8e884fe.sh |
