Sha256: 5f29a10abf1a93e060b9695784dd9db679bc849df6c59f619596a6a147b5b393
Contents?: true
Size: 491 Bytes
Versions: 35
Compression:
Stored size: 491 Bytes
Contents
class CreatePathologyVersions < ActiveRecord::Migration[5.2] def change within_renalware_schema do create_table :pathology_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 :pathology_versions, [:item_type, :item_id] end end end
Version data entries
35 entries across 35 versions & 1 rubygems