Sha256: 0f439221b55654299c333febc142f5eaec6d5fe0e95e9a66d6777194faaaaee7

Contents?: true

Size: 401 Bytes

Versions: 26

Compression:

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

26 entries across 26 versions & 2 rubygems

Version Path
blacklight-8.0.0.beta6 db/migrate/20140202020202_create_bookmarks.rb
blacklight-8.0.0.beta5 db/migrate/20140202020202_create_bookmarks.rb
blacklight-8.0.0.beta4 db/migrate/20140202020202_create_bookmarks.rb
blacklight-8.0.0.beta3 db/migrate/20140202020202_create_bookmarks.rb
blacklight-8.0.0.beta2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-8.0.0.beta1 db/migrate/20140202020202_create_bookmarks.rb