Sha256: d914d73461e1c407cba3ce129fc335a31ed5512f71d081d800be3f9046a01031

Contents?: true

Size: 528 Bytes

Versions: 2

Compression:

Stored size: 528 Bytes

Contents

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

    create_table :phcscriptcdn_address_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_address_versions, %i(item_type item_id), :name => 'scriptcdn_address_versions'

  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
phcscriptcdn-8.2.0 db/migrate/20170517064114_create_phcscriptcdn_scriptversion_versions.rb
phcscriptcdn-8.1.0 db/migrate/20170517064114_create_phcscriptcdn_scriptversion_versions.rb