mirror of
https://github.com/iv-org/invidious.git
synced 2025-05-03 15:05:14 -04:00
Rename migrate scripts
This commit is contained in:
parent
1c8075ca40
commit
a1f49b279f
4 changed files with 13 additions and 6 deletions
7
config/migrate-scripts/migrate-db-1c8075c.sh
Executable file
7
config/migrate-scripts/migrate-db-1c8075c.sh
Executable file
|
@ -0,0 +1,7 @@
|
|||
#!/bin/sh
|
||||
|
||||
psql invidious -c "ALTER TABLE channel_videos DROP COLUMN live_now CASCADE"
|
||||
psql invidious -c "ALTER TABLE channel_videos DROP COLUMN premiere_timestamp CASCADE"
|
||||
|
||||
psql invidious -c "ALTER TABLE channel_videos ADD COLUMN live_now bool"
|
||||
psql invidious -c "ALTER TABLE channel_videos ADD COLUMN premiere_timestamp timestamptz"
|
Loading…
Add table
Add a link
Reference in a new issue