Sha256: 5d2fa54d69175ed6bd0b484e17a50d0ecdeeb96d998464bdaddc0f7b478296a1

Contents?: true

Size: 589 Bytes

Versions: 21

Compression:

Stored size: 589 Bytes

Contents

class CreatePhcdevworksCoreModulesPostCategoryVersions < ActiveRecord::Migration[6.0]
  TEXT_BYTES = 1_073_741_823
  def change
    create_table :phcdevworks_core_modules_post_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_core_modules_post_category_versions, %i(item_type item_id), :name => 'post_category_versions'

  end
end

Version data entries

21 entries across 21 versions & 1 rubygems

Version Path
phcdevworks_core_modules-7.3.0 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-7.2.2 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-7.2.1 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-7.2.0 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-7.1.4 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-7.1.3 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-7.1.2 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-7.1.1 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-7.1.0 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-7.0.0 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-6.5.0 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-6.4.0 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-6.3.0 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-6.2.1 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-6.2.0 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-6.1.0 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-6.0.4 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-6.0.3 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-6.0.2 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb
phcdevworks_core_modules-6.0.1 db/migrate/20170517064427_create_phcdevworks_core_modules_post_category_versions.rb