5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-15 05:41:42 +00:00

Merge branch 'request-uri' into 'rails'

agregar request_uri a los logs

See merge request sutty/sutty!49
This commit is contained in:
Nulo 2021-07-22 22:18:30 +00:00
commit 6448a881ac

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