Sha256: 284e985369517d638e9174cb2fae422737691ab35a01b1e78063f00dfd9f1054

Contents?: true

Size: 477 Bytes

Versions: 3

Compression:

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

3 entries across 3 versions & 1 rubygems

Version Path
phcmembers-12.1.1 db/migrate/20170517064208_create_phcmembers_versions_categorylistings.rb
phcmembers-12.1.0 db/migrate/20170517064208_create_phcmembers_versions_categorylistings.rb
phcmembers-12.0.1 db/migrate/20170517064208_create_phcmembers_versions_categorylistings.rb