Sha256: a4066372b536114244b897acb898c5dfc0b4ddc807edcad9af7d209a4ee33482

Contents?: true

Size: 454 Bytes

Versions: 3

Compression:

Stored size: 454 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

3 entries across 3 versions & 1 rubygems

Version Path
phcmembers-12.1.1 db/migrate/20170517064030_create_phcmembers_versions_profiles.rb
phcmembers-12.1.0 db/migrate/20170517064030_create_phcmembers_versions_profiles.rb
phcmembers-12.0.1 db/migrate/20170517064030_create_phcmembers_versions_profiles.rb