Sha256: 8796aff729b392e82db6740b178a756f97a2e1e8a315535fa078dc9ee6d0cbc0

Contents?: true

Size: 328 Bytes

Versions: 50

Compression:

Stored size: 328 Bytes

Contents

# -*- encoding : utf-8 -*-
class CreateBookmarks < ActiveRecord::Migration
  def self.up
    create_table :bookmarks do |t|
      t.integer :user_id, :null=>false
      t.string :user_type
      t.string :document_id
      t.string :title
      t.timestamps
    end
  end

  def self.down
    drop_table :bookmarks
  end
  
end

Version data entries

50 entries across 50 versions & 1 rubygems

Version Path
blacklight-5.16.4 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.0.0.pre3 db/migrate/20140202020202_create_bookmarks.rb
blacklight-5.16.3 db/migrate/20140202020202_create_bookmarks.rb
blacklight-5.16.2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-5.16.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.0.0.pre2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.0.0.pre1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-5.16.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-5.15.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-5.14.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-5.13.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-5.13.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-5.11.3 db/migrate/20140202020202_create_bookmarks.rb
blacklight-5.12.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-5.12.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-5.10.3 db/migrate/20140202020202_create_bookmarks.rb
blacklight-5.9.4 db/migrate/20140202020202_create_bookmarks.rb
blacklight-5.11.2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-5.11.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-5.11.0 db/migrate/20140202020202_create_bookmarks.rb