Sha256: 8c8b08f6ae99a6fb52cf185cdf7a3dbb1c42f4efda2f245bc1cc374b99771a52

Contents?: true

Size: 400 Bytes

Versions: 75

Compression:

Stored size: 400 Bytes

Contents

# frozen_string_literal: true
class CreateBookmarks < ActiveRecord::Migration[4.2]
  def self.up
    create_table :bookmarks do |t|
      t.integer :user_id, index: true, null: false
      t.string :user_type
      t.string :document_id, index: true
      t.string :document_type
      t.binary :title
      t.timestamps null: false
    end
  end

  def self.down
    drop_table :bookmarks
  end
end

Version data entries

75 entries across 75 versions & 2 rubygems

Version Path
blacklight-7.7.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.6.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.5.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.5.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.4.2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.4.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.4.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.3.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.2.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.1.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.1.0.alpha db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.0.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.0.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.0.0.rc2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.0.0.rc1 db/migrate/20140202020202_create_bookmarks.rb