sutty/db/migrate/20200529154040_add_remote_user_to_access_logs.rb

8 lines
178 B
Ruby
Raw Permalink Normal View History

class AddRemoteUserToAccessLogs < ActiveRecord::Migration[6.0]
def change
return unless Rails.env.production?
add_column :access_logs, :remote_user, :string
end
end