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-26.0.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-25.0.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-24.1.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-24.0.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-23.0.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-22.1.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-22.0.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-21.1.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-21.0.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-20.8.1 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-20.8.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-20.7.1 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-20.7.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-20.6.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-20.5.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-20.4.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-20.3.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-20.2.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-20.1.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb
phcscriptcdnpro-20.0.0 db/migrate/20170517064030_create_phcscriptcdnpro_extension_versions.rb