mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-16 22:46:23 +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
|