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.26.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.25.3 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.25.2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.25.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.25.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.24.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.23.0.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.23.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.22.2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.22.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.22.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.21.2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.21.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.21.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.20.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.20.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.19.2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.19.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.19.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.18.1 db/migrate/20140202020202_create_bookmarks.rb