blob: 095c763266fd231343e56b469c850d39bcee3597 (
plain)
1
2
3
4
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'"
|