summaryrefslogtreecommitdiffstats
path: root/config/migrate-scripts/migrate-db-8e884fe.sh
blob: 1c8dafd1fedd3be6d3b90fdc4f06f3b2f18efedf (plain)
1
2
3
4
5
#!/bin/sh

psql invidious kemal -c "ALTER TABLE channels DROP COLUMN subscribed"
psql invidious kemal -c "ALTER TABLE channels ADD COLUMN subscribed timestamptz"
psql invidious kemal -c "UPDATE channels SET subscribed = '2019-01-01 00:00:00+00'"