invidious/config/migrate-scripts/migrate-db-8e884fe.sh

6 行
246 B
Bash
Raw 通常表示 履歴

2019-03-04 11:40:24 +09:00
#!/bin/sh
2019-04-06 21:38:33 +09:00
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'"