Sha256: fc89e097b38737c0403fe103cb385881cf62f523c4586a0519f928c107a33783

Contents?: true

Size: 315 Bytes

Versions: 2

Compression:

Stored size: 315 Bytes

Contents

# frozen_string_literal: true
class CreateSearches < ActiveRecord::Migration
  def self.up
    create_table :searches do |t|
      t.text  :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

2 entries across 2 versions & 1 rubygems

Version Path
blacklight-6.3.0 db/migrate/20140202020201_create_searches.rb
blacklight-6.2.0 db/migrate/20140202020201_create_searches.rb