Sha256: 88521e09615f9763f395d94a94d2aa03fdf8e6cfbfbf8e2d0b0718b0f3ec8b13

Contents?: true

Size: 517 Bytes

Versions: 9

Compression:

Stored size: 517 Bytes

Contents

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

    create_table :phcmembers_category_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_category_versions, %i(item_type item_id), :name => 'mem_category_versions'

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

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