mirror of
https://0xacab.org/sutty/sutty
synced 2024-11-23 00:46:23 +00:00
identificar web crawlers
This commit is contained in:
parent
036ac78690
commit
96c2b8189a
1 changed files with 5 additions and 0 deletions
5
db/migrate/20200801233025_add_crawler_to_access_logs.rb
Normal file
5
db/migrate/20200801233025_add_crawler_to_access_logs.rb
Normal file
|
@ -0,0 +1,5 @@
|
||||||
|
class AddCrawlerToAccessLogs < ActiveRecord::Migration[6.0]
|
||||||
|
def change
|
||||||
|
add_column :access_logs, :crawler, :boolean, default: false
|
||||||
|
end
|
||||||
|
end
|
Loading…
Reference in a new issue