Skip to content

Invidious is an alternative front-end to YouTube

Add missing table to check_tables

Omar Roth9f40b3a873db
diff --git a/src/invidious.cr b/src/invidious.cr
index 5c054c4c..f84c813e 100644
--- a/src/invidious.cr
+++ b/src/invidious.cr
@@ -123,6 +123,7 @@ Kemal::CLI.new ARGV
# Check table integrity
if CONFIG.check_tables
+ analyze_table(PG_DB, logger, "channels", InvidiousChannel)
analyze_table(PG_DB, logger, "channel_videos", ChannelVideo)
analyze_table(PG_DB, logger, "nonces", Nonce)
analyze_table(PG_DB, logger, "session_ids", SessionId)