Sha256: 0e5c33d640393cef7a0741745245717aa648f14784f651790dd4c5d640805a2e

Contents?: true

Size: 317 Bytes

Versions: 15

Compression:

Stored size: 317 Bytes

Contents

# frozen_string_literal: true
class CreateSearches < ActiveRecord::Migration
  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

15 entries across 15 versions & 1 rubygems

Version Path
blacklight-6.9.0 db/migrate/20140202020201_create_searches.rb
blacklight-6.8.0 db/migrate/20140202020201_create_searches.rb
blacklight-6.7.3 db/migrate/20140202020201_create_searches.rb
blacklight-6.7.2 db/migrate/20140202020201_create_searches.rb
blacklight-6.7.1 db/migrate/20140202020201_create_searches.rb
blacklight-6.7.0 db/migrate/20140202020201_create_searches.rb
blacklight-6.6.2 db/migrate/20140202020201_create_searches.rb
blacklight-6.6.1 db/migrate/20140202020201_create_searches.rb
blacklight-6.6.0 db/migrate/20140202020201_create_searches.rb
blacklight-6.5.0 db/migrate/20140202020201_create_searches.rb
blacklight-6.4.2 db/migrate/20140202020201_create_searches.rb
blacklight-6.4.1 db/migrate/20140202020201_create_searches.rb
blacklight-6.4.0 db/migrate/20140202020201_create_searches.rb
blacklight-6.3.3 db/migrate/20140202020201_create_searches.rb
blacklight-6.3.1 db/migrate/20140202020201_create_searches.rb