mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 00:12:03 +02:00
added api log to database example
This commit is contained in:
parent
82463fd99d
commit
6c4e5da5f6
2 changed files with 18 additions and 3 deletions
|
@ -1,6 +1,6 @@
|
|||
module ApiLog
|
||||
class Db < ActiveRecord::Base
|
||||
self.abstract_class = true
|
||||
establish_connection "api_log_#{Rails.env}".to_sym
|
||||
establish_connection "api_log_#{Rails.env}"
|
||||
end
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue