5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-22 19:36:21 +00:00
panel/db/migrate/20200529154040_add_remote_user_to_access_logs.rb

7 lines
178 B
Ruby

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