Sha256: 69924f59d482047c8cd3c628ceb6e9ef3d3660e10b851b889cb1404fd7231bf4

Contents?: true

Size: 549 Bytes

Versions: 16

Compression:

Stored size: 549 Bytes

Contents

class CreatePhcdevworksMembersCategoryVersions < ActiveRecord::Migration[6.0]
  TEXT_BYTES = 1_073_741_823
  def change

    create_table :phcdevworks_members_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 :phcdevworks_members_category_versions, %i(item_type item_id), :name => 'directory_category_versions'

  end
end

Version data entries

16 entries across 16 versions & 1 rubygems

Version Path
phcdevworks_members-7.0.0 db/migrate/20170517064427_create_phcdevworks_members_category_versions.rb
phcdevworks_members-6.8.0 db/migrate/20170517064427_create_phcdevworks_members_category_versions.rb
phcdevworks_members-6.7.1 db/migrate/20170517064427_create_phcdevworks_members_category_versions.rb
phcdevworks_members-6.7.0 db/migrate/20170517064427_create_phcdevworks_members_category_versions.rb
phcdevworks_members-6.6.0 db/migrate/20170517064427_create_phcdevworks_members_category_versions.rb
phcdevworks_members-6.5.0 db/migrate/20170517064427_create_phcdevworks_members_category_versions.rb
phcdevworks_members-6.4.0 db/migrate/20170517064427_create_phcdevworks_members_category_versions.rb
phcdevworks_members-6.3.0 db/migrate/20170517064427_create_phcdevworks_members_category_versions.rb
phcdevworks_members-6.2.0 db/migrate/20170517064427_create_phcdevworks_members_category_versions.rb
phcdevworks_members-6.1.0 db/migrate/20170517064427_create_phcdevworks_members_category_versions.rb
phcdevworks_members-6.0.0 db/migrate/20170517064427_create_phcdevworks_members_category_versions.rb
phcdevworks_members-5.1.1 db/migrate/20170517064427_create_phcdevworks_members_category_versions.rb
phcdevworks_members-5.1.0 db/migrate/20170517064427_create_phcdevworks_members_category_versions.rb
phcdevworks_members-5.0.3 db/migrate/20170517064427_create_phcdevworks_members_category_versions.rb
phcdevworks_members-5.0.2 db/migrate/20170517064427_create_phcdevworks_members_category_versions.rb
phcdevworks_members-5.0.0 db/migrate/20170517064427_create_phcdevworks_members_category_versions.rb