Sha256: a349833f980384843655a9c49d82f0432ef9a0d91eeacf3fb4f82e0b5990679b

Contents?: true

Size: 513 Bytes

Versions: 9

Compression:

Stored size: 513 Bytes

Contents

class CreatePhcmembersProfileVersions < ActiveRecord::Migration[5.2]
  TEXT_BYTES = 1_073_741_823
  def change

    create_table :phcmembers_profile_versions do |t|

      t.string   :item_type, {:null=>false}
      t.integer  :item_id,   null: false
      t.string   :event,     null: false
      t.string   :whodunnit
      t.text     :object, limit: TEXT_BYTES
      t.datetime :created_at

    end

    add_index :phcmembers_profile_versions, %i(item_type item_id), :name => 'mem_profile_versions'

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
phcmembers-67.1.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-67.0.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-66.0.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-65.0.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-64.1.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-64.0.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-63.0.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-62.1.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-62.0.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb