Sha256: ab95c5ceb40a84368122f1dca584bee95e57bc91c359bf90124c18de56c20cbf
Contents?: true
Size: 398 Bytes
Versions: 2
Compression:
Stored size: 398 Bytes
Contents
# frozen_string_literal: true class CreateBookmarks < ActiveRecord::Migration 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.string :title t.timestamps null: false end end def self.down drop_table :bookmarks end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
blacklight-6.3.0 | db/migrate/20140202020202_create_bookmarks.rb |
blacklight-6.2.0 | db/migrate/20140202020202_create_bookmarks.rb |