Sha256: 17715ac0ed555bc98a686e2d50cbdbbe40dc5b69d8ce6a6da5e2a7e4a9ec3ce5

Contents?: true

Size: 442 Bytes

Versions: 1

Compression:

Stored size: 442 Bytes

Contents

class CreatePhcmembersVersionsProfiles < ActiveRecord::Migration[5.1]
  def change
    create_table :phcmembers_versions_profiles do |t|
      t.string   :item_type, {:null=>false}
      t.integer  :item_id,   null: false
      t.string   :event,     null: false
      t.string   :whodunnit
      t.datetime :created_at
    end
    add_index :phcmembers_versions_profiles, %i(item_type item_id), name: 'phcmembers_version_profiles'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcmembers-12.2.1 db/migrate/20170517064030_create_phcmembers_versions_profiles.rb