mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-25 14:46:22 +00:00
7 lines
188 B
Ruby
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
|