agregar request_uri a los logs sutty/containers/nginx!1

This commit is contained in:
f 2021-07-22 16:19:25 -03:00
parent 5c36de818f
commit d474b819ad

View file

@ -0,0 +1,10 @@
# frozen_string_literal: true
# Agrega la columna de request_uri a la tabla de logs
class AddRequestUriToAccessLogs < ActiveRecord::Migration[6.1]
def change
return unless Rails.env.production?
add_column :access_logs, :request_uri, :string, default: ''
end
end