diff options
| author | Omar Roth <omarroth@hotmail.com> | 2019-02-09 12:09:15 -0600 |
|---|---|---|
| committer | Omar Roth <omarroth@hotmail.com> | 2019-02-09 12:10:20 -0600 |
| commit | 0d509c82ee2d3bba669d1a6c2625b04358cc9d74 (patch) | |
| tree | 18de740b649a9a550f97a77bbbfa434b59bffe34 /config/migrate-scripts/migrate-db-30e6d29.sh | |
| parent | 30e6d291066f489a27b558f536a8ee4f83d79f73 (diff) | |
| download | invidious-0d509c82ee2d3bba669d1a6c2625b04358cc9d74.tar.gz invidious-0d509c82ee2d3bba669d1a6c2625b04358cc9d74.tar.bz2 invidious-0d509c82ee2d3bba669d1a6c2625b04358cc9d74.zip | |
Rename migrate-db-e1aa1ce.sh to migrate-db-30e6d29.sh
Diffstat (limited to 'config/migrate-scripts/migrate-db-30e6d29.sh')
| -rwxr-xr-x | config/migrate-scripts/migrate-db-30e6d29.sh | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/config/migrate-scripts/migrate-db-30e6d29.sh b/config/migrate-scripts/migrate-db-30e6d29.sh new file mode 100755 index 00000000..259862df --- /dev/null +++ b/config/migrate-scripts/migrate-db-30e6d29.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;" |
