Sha256: 2567911c1c55927068a889ca1092265aac049c36353a606efdf7134a65c92ff7

Contents?: true

Size: 465 Bytes

Versions: 1

Compression:

Stored size: 465 Bytes

Contents

class CreatePhcmembersVersionsCategorylistings < ActiveRecord::Migration[5.1]
  def change
    create_table :phcmembers_versions_categorylistings 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_categorylistings, %i(item_type item_id), name: 'phcmembers_version_catlist'
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
phcmembers-12.2.1 db/migrate/20170517064208_create_phcmembers_versions_categorylistings.rb