Sha256: 44e3aefd2fccccc4ea865ad6f550cf08ae5380e98754fd0eb0f06b6ef389f46d

Contents?: true

Size: 597 Bytes

Versions: 5

Compression:

Stored size: 597 Bytes

Contents

class CreateExpressAnalyticsLogEntries < ActiveRecord::Migration
  def change
    create_table :express_analytics_log_entries do |t|
      t.string :action, limit: 64
      t.string :username, limit: 64
      t.string :ip_address, limit: 16
      t.string :geo_country_code, limit: 3
      t.string :geo_administrative_area, limit: 64
      t.string :geo_locality, limit: 64
      t.float :geo_latitude
      t.float :geo_longitude
      t.string :user_agent
      t.string :entity_type
      t.integer :entity_id
      t.string :notes

      t.datetime :created_at, null: false
    end
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
express_analytics-0.0.5 db/migrate/20160215053321_create_express_analytics_log_entries.rb
express_analytics-0.0.4 db/migrate/20160215053321_create_express_analytics_log_entries.rb
express_analytics-0.0.3 db/migrate/20160215053321_create_express_analytics_log_entries.rb
express_analytics-0.0.2 db/migrate/20160215053321_create_express_analytics_log_entries.rb
express_analytics-0.0.1 db/migrate/20160215053321_create_express_analytics_log_entries.rb