Sha256: 844178fcdad1e3e0452915835d2018249d55b4930c752d709af669e2e166d53e

Contents?: true

Size: 511 Bytes

Versions: 18

Compression:

Stored size: 511 Bytes

Contents

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

    create_table :phcmembers_listing_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_listing_versions, %i(item_type item_id), :name => 'mem_listing_versions'

  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
phcmembers-35.0.0 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-34.0.1 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-33.1.0 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-33.0.0 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-32.0.0 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-31.2.0 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-31.1.0 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-31.0.0 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-30.0.2 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-30.0.1 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-30.0.0 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-29.0.0 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-28.0.0 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-27.0.1 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-27.0.0 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-26.0.0 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-25.0.0 db/migrate/20170517064049_create_phcmembers_listing_versions.rb
phcmembers-24.0.0 db/migrate/20170517064049_create_phcmembers_listing_versions.rb