Files
railsgoat/db/migrate/20140408185601_create_analytics.rb
T
robbiepaul 298610b5f6
CI / test (3.4.1) (push) Has been cancelled
Initial commit (history cleared)
2026-04-29 11:21:39 +01:00

12 lines
256 B
Ruby

# frozen_string_literal: true
class CreateAnalytics < ActiveRecord::Migration[4.2]
def change
create_table :analytics do |t|
t.string :ip_address
t.string :referrer
t.string :user_agent
t.timestamps
end
end
end