You can not select more than 25 topics
Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
- class Gitea::Base < ApplicationRecord
- db_config = Rails.configuration.database_configuration[Rails.env]["gitea_server"]
- raise 'gitea database config missing' if db_config.blank?
-
- establish_connection db_config
- end
|