Sha256: 63e7d7eadb710d360c19d1bf7476336a00617ed594a3a9a7d12f8d7fd84a017a

Contents?: true

Size: 343 Bytes

Versions: 4

Compression:

Stored size: 343 Bytes

Contents

# frozen_string_literal: true
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 null: false
    end
  end

  def self.down
    drop_table :bookmarks
  end
  
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
blacklight-6.1.0 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.0.2 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.0.1 db/migrate/20140202020202_create_bookmarks.rb
blacklight-6.0.0 db/migrate/20140202020202_create_bookmarks.rb