Sha256: 75ca10d26e12ddd5f363996a3922d855eb5ee9ca03ce200f05dd1723d29eb6e7

Contents?: true

Size: 322 Bytes

Versions: 97

Compression:

Stored size: 322 Bytes

Contents

# frozen_string_literal: true
class CreateSearches < ActiveRecord::Migration[4.2]
  def self.up
    create_table :searches do |t|
      t.binary  :query_params
      t.integer :user_id, index: true
      t.string :user_type

      t.timestamps null: false
    end
  end

  def self.down
    drop_table :searches
  end
end

Version data entries

97 entries across 97 versions & 2 rubygems

Version Path
blacklight-7.40.0 db/migrate/20140202020201_create_searches.rb
blacklight-7.39.0 db/migrate/20140202020201_create_searches.rb
blacklight-7.38.0 db/migrate/20140202020201_create_searches.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/db/migrate/20140202020201_create_searches.rb
blacklight-7.37.0 db/migrate/20140202020201_create_searches.rb
blacklight-7.36.2 db/migrate/20140202020201_create_searches.rb
blacklight-7.36.1 db/migrate/20140202020201_create_searches.rb
blacklight-7.36.0 db/migrate/20140202020201_create_searches.rb
blacklight-7.35.0 db/migrate/20140202020201_create_searches.rb
blacklight-7.34.0 db/migrate/20140202020201_create_searches.rb
blacklight-7.33.1 db/migrate/20140202020201_create_searches.rb
blacklight-7.33.0 db/migrate/20140202020201_create_searches.rb
blacklight-7.32.0 db/migrate/20140202020201_create_searches.rb
blacklight-7.31.0 db/migrate/20140202020201_create_searches.rb
blacklight-7.30.0 db/migrate/20140202020201_create_searches.rb
blacklight-7.29.0 db/migrate/20140202020201_create_searches.rb
blacklight-6.25.0 db/migrate/20140202020201_create_searches.rb
blacklight-7.28.0 db/migrate/20140202020201_create_searches.rb
blacklight-7.27.1 db/migrate/20140202020201_create_searches.rb
blacklight-7.27.0 db/migrate/20140202020201_create_searches.rb