Sha256: 7ef8445da75737f3256b4635359b1c87eb7e8d842d3111cebc775e403d87bfee

Contents?: true

Size: 456 Bytes

Versions: 3

Compression:

Stored size: 456 Bytes

Contents

class CreatePhcmembersVersionsAddresses < ActiveRecord::Migration[5.1]
  def change
    create_table :phcmembers_versions_addresses 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_addresses, %i(item_type item_id), name: 'phcmembers_version_address'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
phcmembers-12.1.1 db/migrate/20170517064114_create_phcmembers_versions_addresses.rb
phcmembers-12.1.0 db/migrate/20170517064114_create_phcmembers_versions_addresses.rb
phcmembers-12.0.1 db/migrate/20170517064114_create_phcmembers_versions_addresses.rb