Sha256: 8c8b08f6ae99a6fb52cf185cdf7a3dbb1c42f4efda2f245bc1cc374b99771a52
Contents?: true
Size: 400 Bytes
Versions: 75
Compression:
Stored size: 400 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
75 entries across 75 versions & 2 rubygems