Commit 7ce20dfb authored by Thong Kuah's avatar Thong Kuah

Do not check licenses table as we don't refer to License anymore

parent 2d72120f
# frozen_string_literal: true
# We need to run this initializer after migrations are done so it doesn't fail on CI
if Gitlab::Database.cached_table_exists?('licenses')
if Gitlab::Database::LoadBalancing.enable?
if Gitlab::Database::LoadBalancing.enable?
Gitlab::Database.disable_prepared_statements
Gitlab::Application.configure do |config|
......@@ -18,6 +15,4 @@ if Gitlab::Database.cached_table_exists?('licenses')
# discovery depends on this.
Gitlab::Database::LoadBalancing.start_service_discovery
end
end
end
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment