mirror of
https://github.com/internetee/registry.git
synced 2025-05-29 17:10:08 +02:00
115595167-logs_migration
This commit is contained in:
parent
c9c4e82989
commit
96d5ae579c
3 changed files with 5 additions and 3 deletions
|
@ -49,7 +49,8 @@ module Repp
|
|||
response_code: status,
|
||||
api_user_name: current_user.try(:username),
|
||||
api_user_registrar: current_user.try(:registrar).try(:to_s),
|
||||
ip: request.ip
|
||||
ip: request.ip,
|
||||
uuid: request.uuid
|
||||
})
|
||||
end
|
||||
|
||||
|
|
|
@ -371,7 +371,8 @@ class EppController < ApplicationController
|
|||
response: @response,
|
||||
api_user_name: @api_user.try(:username) || current_user.try(:username) || 'api-public',
|
||||
api_user_registrar: @api_user.try(:registrar).try(:to_s) || current_user.try(:registrar).try(:to_s),
|
||||
ip: request.ip
|
||||
ip: request.ip,
|
||||
uuid: request.uuid
|
||||
})
|
||||
end
|
||||
# rubocop: enable Metrics/CyclomaticComplexity
|
||||
|
|
|
@ -9,7 +9,7 @@ class AddMatchingColumn < ActiveRecord::Migration
|
|||
:log_zonefile_settings]
|
||||
|
||||
tables.each do |table|
|
||||
add_column table, :uuid, :text
|
||||
add_column table, :uuid, :string
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue