Sha256: 840e899bc24ce77c4e2939e651ad0a996af447b9db6977bb47fda261cde60a5a

Contents?: true

Size: 557 Bytes

Versions: 2

Compression:

Stored size: 557 Bytes

Contents

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

    create_table :phcscriptcdnpro_extensions_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 :phcscriptcdnpro_extensions_versions, %i(item_type item_id), :name => 'scriptcdnpro_ext_versions'

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcscriptcdnpro-15.1.0 db/migrate/20170517064030_create_phcscriptcdnpro_extensions_versions.rb
phcscriptcdnpro-15.0.0 db/migrate/20170517064030_create_phcscriptcdnpro_extensions_versions.rb