Sha256: 005b9a542ced08d2d3f7af308652abda30b51f7dade481e34e027c3cc98dd178

Contents?: true

Size: 438 Bytes

Versions: 79

Compression:

Stored size: 438 Bytes

Contents

class CreateClinicalVersions < ActiveRecord::Migration[4.2]
  def change
    create_table :clinical_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 :clinical_versions, [:item_type, :item_id]
  end
end

Version data entries

79 entries across 79 versions & 1 rubygems

Version Path
renalware-core-2.0.0.pre.rc11 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.rc10 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.rc9 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.rc8 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.rc7 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.rc6 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.rc5 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.rc4 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.rc3 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.rc1 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.beta12 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.beta11 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.beta10 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.beta9 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.beta8 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.beta7 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.beta6 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.beta5 db/migrate/20170605102519_create_clinical_versions.rb
renalware-core-2.0.0.pre.beta4 db/migrate/20170605102519_create_clinical_versions.rb