diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-02-09 10:18:24 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-02-09 10:49:48 -0600 |
| commit | 30e6d291066f489a27b558f536a8ee4f83d79f73 (patch) | |
| tree | 901969cd47393dbbee906ef536439b38491ef4ce /config/migrate-scripts | |
| parent | 7a9ef0d664c9d8d4eec879fadeb823568877bf28 (diff) | |
| download | invidious-30e6d291066f489a27b558f536a8ee4f83d79f73.tar.gz invidious-30e6d291066f489a27b558f536a8ee4f83d79f73.tar.bz2 invidious-30e6d291066f489a27b558f536a8ee4f83d79f73.zip | |
Add 'deleted' to channel info
Diffstat (limited to 'config/migrate-scripts')
| -rw-r--r-- | config/migrate-scripts/migrate-db-e1aa1ce.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/migrate-scripts/migrate-db-e1aa1ce.sh b/config/migrate-scripts/migrate-db-e1aa1ce.sh new file mode 100644 index 00000000..259862df --- /dev/null +++ b/config/migrate-scripts/migrate-db-e1aa1ce.sh @@ -0,0 +1,4 @@ +#!/bin/sh + +psql invidious -c "ALTER TABLE channels ADD COLUMN deleted bool;" +psql invidious -c "UPDATE channels SET deleted = false;" |
