invidious-copy-2022-03-16/config/migrate-scripts/migrate-db-17cf077.sh

5 lines
140 B
Bash
Raw Normal View History

#!/bin/sh
psql invidious -c "ALTER TABLE channels ADD COLUMN subscribed bool;"
psql invidious -c "UPDATE channels SET subscribed = false;"