mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-28 15:16:22 +00:00
10 lines
276 B
Ruby
10 lines
276 B
Ruby
# 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
|