Set default value for 'subscribed' date

pull/397/head
Omar Roth 6 years ago
parent 7425700009
commit 90715467a2

@ -2,3 +2,4 @@
psql invidious -c "ALTER TABLE channels DROP COLUMN subscribed" psql invidious -c "ALTER TABLE channels DROP COLUMN subscribed"
psql invidious -c "ALTER TABLE channels ADD COLUMN subscribed timestamptz" psql invidious -c "ALTER TABLE channels ADD COLUMN subscribed timestamptz"
psql invidious -c "UPDATE channels SET subscribed = '2019-01-01 00:00:00+00'"

Loading…
Cancel
Save