Add 'deleted' to channel info

This commit is contained in:
Omar Roth 2019-02-09 10:18:24 -06:00
parent 7a9ef0d664
commit 30e6d29106
4 changed files with 11 additions and 2 deletions

View file

@ -0,0 +1,4 @@
#!/bin/sh
psql invidious -c "ALTER TABLE channels ADD COLUMN deleted bool;"
psql invidious -c "UPDATE channels SET deleted = false;"