5
0
Fork 0
mirror of https://0xacab.org/sutty/sutty synced 2024-11-28 17:56:21 +00:00
panel/db/migrate/20200801233025_add_crawler_to_access_logs.rb
2020-08-18 10:17:13 -03:00

7 lines
188 B
Ruby

class AddCrawlerToAccessLogs < ActiveRecord::Migration[6.0]
def change
return unless Rails.env.production?
add_column :access_logs, :crawler, :boolean, default: false
end
end