Add 'liveNow' to subscription feed

This commit is contained in:
Omar Roth 2019-03-22 10:32:42 -05:00
parent 661e07c8db
commit f0658bbd09
5 changed files with 48 additions and 16 deletions

View file

@ -0,0 +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'"