Sha256: d35f42284c9fdfd61460ddd67bdb5d13affffe0374bcf5827c01dabe2ea16f8c

Contents?: true

Size: 511 Bytes

Versions: 38

Compression:

Stored size: 511 Bytes

Contents

class CreatePhcmembersProfileVersions < ActiveRecord::Migration[5.1]
  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

38 entries across 38 versions & 1 rubygems

Version Path
phcmembers-21.1.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-21.0.1 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-21.0.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-19.2.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-19.1.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-19.0.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-18.0.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-17.1.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-17.0.1 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-16.2.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-16.1.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-16.0.2 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-16.0.1 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-16.0.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-15.1.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-15.0.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-14.0.1 db/migrate/20170517064030_create_phcmembers_profile_versions.rb
phcmembers-14.0.0 db/migrate/20170517064030_create_phcmembers_profile_versions.rb