1
0
mirror of https://github.com/iv-org/invidious.git synced 2025-01-22 22:53:10 +05:30

6 lines
228 B
Bash
Raw Normal View History

2019-03-03 20:40:24 -06:00
#!/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'"