forked from midou/invidious
.github
assets
config
migrate-scripts
migrate-db-17cf077.sh
migrate-db-1c8075c.sh
migrate-db-1eca969.sh
migrate-db-30e6d29.sh
migrate-db-3646395.sh
migrate-db-3bcb98e.sh
migrate-db-52cb239.sh
migrate-db-6e51189.sh
migrate-db-701b5ea.sh
migrate-db-88b7097.sh
migrate-db-8e884fe.sh
sql
config.example.yml
docker
kubernetes
locales
screenshots
scripts
spec
src
.editorconfig
.gitattributes
.gitignore
CHANGELOG.md
LICENSE
README.md
TRANSLATION
docker-compose.yml
invidious.service
shard.lock
shard.yml
8 lines
359 B
Bash
Executable File
8 lines
359 B
Bash
Executable File
#!/bin/sh
|
|
|
|
psql invidious kemal -c "ALTER TABLE channel_videos DROP COLUMN live_now CASCADE"
|
|
psql invidious kemal -c "ALTER TABLE channel_videos DROP COLUMN premiere_timestamp CASCADE"
|
|
|
|
psql invidious kemal -c "ALTER TABLE channel_videos ADD COLUMN live_now bool"
|
|
psql invidious kemal -c "ALTER TABLE channel_videos ADD COLUMN premiere_timestamp timestamptz"
|