Sha256: 9fb73d44999c21f78b784f9f1412045559a8a2048991e3f35d415f3547f1cb0b

Contents?: true

Size: 542 Bytes

Versions: 24

Compression:

Stored size: 542 Bytes

Contents

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

    create_table :phcscriptcdn_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 :phcscriptcdn_extension_versions, %i(item_type item_id), :name => 'scriptcdn_ext_versions'

  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
phcscriptcdn-12.0.1 db/migrate/20170517064030_create_phcscriptcdn_extension_versions.rb
phcscriptcdn-12.0.0 db/migrate/20170517064030_create_phcscriptcdn_extension_versions.rb
phcscriptcdn-11.1.0 db/migrate/20170517064030_create_phcscriptcdn_extension_versions.rb
phcscriptcdn-11.0.0 db/migrate/20170517064030_create_phcscriptcdn_extension_versions.rb