mirror of
https://github.com/internetee/registry.git
synced 2025-07-01 16:53:37 +02:00
Log REPP requests
This commit is contained in:
parent
0544dbd3ff
commit
568c52129f
8 changed files with 38 additions and 16 deletions
|
@ -12,18 +12,20 @@ class CreateApiLogTables < ActiveRecord::Migration
|
|||
t.boolean :request_successful
|
||||
t.string :api_user_name
|
||||
t.string :api_user_registrar
|
||||
t.string :ip
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
||||
create_table :repp_logs do |t|
|
||||
t.text :request
|
||||
t.string :request_path
|
||||
t.string :request_method
|
||||
t.text :request_params
|
||||
t.text :response
|
||||
t.string :request_command
|
||||
t.string :request_object
|
||||
t.boolean :request_successful
|
||||
t.string :response_code
|
||||
t.string :api_user_name
|
||||
t.string :api_user_registrar
|
||||
t.string :ip
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue