Sha256: 90a145aaebb7321f1a2b86db6ad4d31fd3558af0db59d9f0c142641dd785bf78

Contents?: true

Size: 523 Bytes

Versions: 46

Compression:

Stored size: 523 Bytes

Contents

class CreatePhcmembersproProfileVersions < ActiveRecord::Migration[5.1]
  TEXT_BYTES = 1_073_741_823
  def change

    create_table :phcmemberspro_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 :phcmemberspro_profile_versions, %i(item_type item_id), :name => 'mempro_profile_versions'

  end
end

Version data entries

46 entries across 46 versions & 1 rubygems

Version Path
phcmemberspro-46.0.0 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-45.0.1 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-45.0.0 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-44.1.0 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-44.0.0 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-43.0.0 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-42.1.0 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-42.0.0 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-41.0.1 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-41.0.0 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-40.1.0 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-40.0.0 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-39.0.0 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-38.0.1 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-38.0.0 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-37.0.3 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-37.0.2 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-37.0.1 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-37.0.0 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb
phcmemberspro-36.3.0 db/migrate/20170517064030_create_phcmemberspro_profile_versions.rb