Sha256: 11ff71631a4a226c2ecbe5d5b8710c778c060bd0278c89c4e729aa8fa5b32824

Contents?: true

Size: 602 Bytes

Versions: 2

Compression:

Stored size: 602 Bytes

Contents

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

    create_table :phcdevworks_core_modules_marketing_optimization_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_marketing_optimization_versions, %i(item_type item_id), :name => 'marketing_optimize_versions'

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcdevworks_core_modules-5.0.0 db/migrate/20200705225433_create_phcdevworks_core_modules_marketing_optimization_versions.rb
phcdevworks_core_modules-4.0.0 db/migrate/20200705225433_create_phcdevworks_core_modules_marketing_optimization_versions.rb