Sha256: 024df9e7f0219c2849f9bc1f27e77fa51a8503ba1a5306a068c30f57236ad4b4

Contents?: true

Size: 403 Bytes

Versions: 22

Compression:

Stored size: 403 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

22 entries across 22 versions & 1 rubygems

Version Path
blacklight-6.25.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.24.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.23.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.22.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.21.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.20.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.19.2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.19.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.19.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.18.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.17.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.16.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.15.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.14.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.14.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.13.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.12.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.11.2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.11.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.11.0 db/migrate/20140202020202_create_bookmarks.rb