mirror of
https://github.com/iv-org/invidious.git
synced 2024-07-06 19:32:53 +00:00
Add migrate script
This commit is contained in:
parent
9e8baa3539
commit
2d6748aae4
|
@ -138,6 +138,9 @@ LOGGER = Invidious::LogHandler.new(OUTPUT, CONFIG.log_level)
|
||||||
# Check table integrity
|
# Check table integrity
|
||||||
Invidious::Database.check_integrity(CONFIG)
|
Invidious::Database.check_integrity(CONFIG)
|
||||||
|
|
||||||
|
# Run migration
|
||||||
|
Invidious::Database::Migrator.new(PG_DB).migrate
|
||||||
|
|
||||||
{% if !flag?(:skip_videojs_download) %}
|
{% if !flag?(:skip_videojs_download) %}
|
||||||
# Resolve player dependencies. This is done at compile time.
|
# Resolve player dependencies. This is done at compile time.
|
||||||
#
|
#
|
||||||
|
|
Loading…
Reference in New Issue
Block a user