Set default value for 'subscribed' date

This commit is contained in:
Omar Roth 2019-03-03 20:44:29 -06:00
parent 7425700009
commit 90715467a2
1 changed files with 1 additions and 0 deletions

View File

@ -2,3 +2,4 @@
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'"