Sha256: c90ad7ed029b34da1ca8fb7015107f7257d91792ef18bd8069971f61f3b79d5a

Contents?: true

Size: 323 Bytes

Versions: 21

Compression:

Stored size: 323 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

21 entries across 21 versions & 2 rubygems

Version Path
blacklight-8.6.1 db/migrate/20140202020201_create_searches.rb
blacklight-8.6.0 db/migrate/20140202020201_create_searches.rb
blacklight-8.5.1 db/migrate/20140202020201_create_searches.rb
blacklight-8.5.0 db/migrate/20140202020201_create_searches.rb
blacklight-8.4.0 db/migrate/20140202020201_create_searches.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-8.3.0/db/migrate/20140202020201_create_searches.rb
blacklight-8.3.0 db/migrate/20140202020201_create_searches.rb
blacklight-8.2.2 db/migrate/20140202020201_create_searches.rb
blacklight-8.2.1 db/migrate/20140202020201_create_searches.rb
blacklight-8.2.0 db/migrate/20140202020201_create_searches.rb
blacklight-8.1.0 db/migrate/20140202020201_create_searches.rb
blacklight-8.0.1 db/migrate/20140202020201_create_searches.rb
blacklight-8.0.0 db/migrate/20140202020201_create_searches.rb
blacklight-8.0.0.beta8 db/migrate/20140202020201_create_searches.rb
blacklight-8.0.0.beta7 db/migrate/20140202020201_create_searches.rb
blacklight-8.0.0.beta6 db/migrate/20140202020201_create_searches.rb
blacklight-8.0.0.beta5 db/migrate/20140202020201_create_searches.rb
blacklight-8.0.0.beta4 db/migrate/20140202020201_create_searches.rb
blacklight-8.0.0.beta3 db/migrate/20140202020201_create_searches.rb
blacklight-8.0.0.beta2 db/migrate/20140202020201_create_searches.rb