1
0
mirror of https://github.com/iv-org/invidious.git synced 2024-12-24 06:49:37 -05:00
invidious/config/migrate-scripts/migrate-db-8e884fe.sh
2019-04-06 07:38:33 -05:00

6 lines
246 B
Bash
Executable File

#!/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'"