Sha256: 63ee127d42e91e831c48f202fb341fdaa828c787466065e4bdfeb26426680ac7

Contents?: true

Size: 537 Bytes

Versions: 20

Compression:

Stored size: 537 Bytes

Contents

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

    create_table :phcmembers_categorylisting_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_categorylisting_versions, %i(item_type item_id), :name => 'mem_catlisting_versions'

  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

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