mirror of
https://gitea.invidious.io/iv-org/invidious-copy-2022-04-11.git
synced 2024-08-15 00:43:26 +00:00
Add migration script for polymer redesign
This commit is contained in:
parent
1eca969cf6
commit
074497b0f6
1 changed files with 19 additions and 0 deletions
19
config/migrate-scripts/migrate-db-1eca969.sh
Executable file
19
config/migrate-scripts/migrate-db-1eca969.sh
Executable file
|
@ -0,0 +1,19 @@
|
||||||
|
#!/bin/sh
|
||||||
|
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN title CASCADE"
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN views CASCADE"
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN likes CASCADE"
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN dislikes CASCADE"
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN wilson_score CASCADE"
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN published CASCADE"
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN description CASCADE"
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN language CASCADE"
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN author CASCADE"
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN ucid CASCADE"
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN allowed_regions CASCADE"
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN is_family_friendly CASCADE"
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN genre CASCADE"
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN genre_url CASCADE"
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN license CASCADE"
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN sub_count_text CASCADE"
|
||||||
|
psql invidious kemal -c "ALTER TABLE videos DROP COLUMN author_thumbnail CASCADE"
|
Loading…
Reference in a new issue