Sha256: 1cdd1c622d27511670f625653dacb78c24767e81d11d1c795d8d406fc0d92705

Contents?: true

Size: 554 Bytes

Versions: 43

Compression:

Stored size: 554 Bytes

Contents

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

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

  end
end

Version data entries

43 entries across 43 versions & 1 rubygems

Version Path
phcscriptcdnpro-42.0.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-41.0.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-40.1.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb