if Rails.env.production? && Rails.configuration.kubernetes_deployment
  establish_connection(
    url: ENV['DATABASE_URL'],
    database: 'pvb2_production'
  )
end

if Rails.env.production? && Rails.configuration.kubernetes_deployment
  ActiveRecord::Base.establish_connection(
    url: ENV['DATABASE_URL'],
    database: 'pvb2_production'
  )
end

FIX - establish db connection
FIX - establish db connection
