invidious-copy-2023-06-08/config/migrate-scripts/migrate-db-8e884fe1.sh
2019-03-03 20:40:24 -06:00

4 lines
150 B
Bash
Executable file

#!/bin/sh
psql invidious -c "ALTER TABLE channels DROP COLUMN subscribed"
psql invidious -c "ALTER TABLE channels ADD COLUMN subscribed timestamptz"