Sha256: 024df9e7f0219c2849f9bc1f27e77fa51a8503ba1a5306a068c30f57236ad4b4
Contents?: true
Size: 403 Bytes
Versions: 22
Compression:
Stored size: 403 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
22 entries across 22 versions & 1 rubygems