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

8 lines
178 B
Ruby
Raw 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