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.40.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.39.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.38.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-spotlight-3.6.0.beta8 vendor/bundle/ruby/3.2.0/gems/blacklight-7.37.0/db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.37.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.36.2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.36.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.36.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.35.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.34.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.33.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.33.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.32.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.31.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.30.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.29.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.28.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.27.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.27.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-7.26.1 db/migrate/20140202020202_create_bookmarks.rb