2019-03-03 21:40:24 -05:00
|
|
|
#!/bin/sh
|
|
|
|
|
|
|
|
psql invidious -c "ALTER TABLE channels DROP COLUMN subscribed"
|
|
|
|
psql invidious -c "ALTER TABLE channels ADD COLUMN subscribed timestamptz"
|
2019-03-03 21:44:29 -05:00
|
|
|
psql invidious -c "UPDATE channels SET subscribed = '2019-01-01 00:00:00+00'"
|