Sha256: 065716226e6d98fb3d32aaa4d6e5f49db071c82d43ff5508728ad3387e96eb63

Contents?: true

Size: 327 Bytes

Versions: 3

Compression:

Stored size: 327 Bytes

Contents

class CreateSojournBrowsers < ActiveRecord::Migration
  def change
    create_table :sojourn_browsers do |t|
      t.text :user_agent, unique: true
      t.string :name
      t.string :version
      t.string :platform
      t.boolean :known
      t.boolean :bot
    end
    add_index :sojourn_browsers, [:user_agent]
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
sojourn-1.0.0.pre2 lib/generators/sojourn/templates/create_sojourn_browsers.rb
sojourn-1.0.0.pre lib/generators/sojourn/templates/create_sojourn_browsers.rb
sojourn-0.0.7 lib/generators/sojourn/templates/create_sojourn_browsers.rb