Sha256: 8f2fcd26a3cb650bb0ab66480b29dff1e08e980bbee2981328c5a81ea212d70d
Contents?: true
Size: 479 Bytes
Versions: 58
Compression:
Stored size: 479 Bytes
Contents
class CreateTransplantVersions < ActiveRecord::Migration[4.2] def change create_table :transplant_versions do |t| t.string :item_type, :null => false t.integer :item_id, :null => false t.string :event, :null => false t.string :whodunnit t.jsonb :object t.jsonb :object_changes t.datetime :created_at end add_index :transplant_versions, [:item_type, :item_id], name: "tx_versions_type_id" end end
Version data entries
58 entries across 58 versions & 1 rubygems