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.18.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.17.2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.17.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.17.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.16.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.15.2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.15.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.15.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.14.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.14.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.13.2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.13.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.13.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.12.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.12.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.11.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.10.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.9.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.8.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.8.0 db/migrate/20140202020202_create_bookmarks.rb