Sha256: 216c76cfee959dafb53f73efa18cf69dfe964a245957525f183e9a9d06a2652c

Contents?: true

Size: 554 Bytes

Versions: 49

Compression:

Stored size: 554 Bytes

Contents

class CreatePhcscriptcdnproExtensionVersions < ActiveRecord::Migration[5.1]
  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

49 entries across 49 versions & 1 rubygems

Version Path
phcscriptcdnpro-19.1.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-19.0.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-18.1.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-18.0.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-17.1.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-17.0.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-16.1.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-16.0.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-15.2.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb