Sha256: 40797d26c865ba9ba377990a1bc020de733d549862bfd31a2f064a8b2b9e21bc

Contents?: true

Size: 546 Bytes

Versions: 28

Compression:

Stored size: 546 Bytes

Contents

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

    create_table :phcscriptcdn_scriptversion_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_scriptversion_versions, %i(item_type item_id), :name => 'scriptcdn_scriptversion_versions'

  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
phcscriptcdn-12.0.1 db/migrate/20170517064114_create_phcscriptcdn_scriptversion_versions.rb
phcscriptcdn-12.0.0 db/migrate/20170517064114_create_phcscriptcdn_scriptversion_versions.rb
phcscriptcdn-11.1.0 db/migrate/20170517064114_create_phcscriptcdn_scriptversion_versions.rb
phcscriptcdn-11.0.0 db/migrate/20170517064114_create_phcscriptcdn_scriptversion_versions.rb
phcscriptcdn-10.1.0 db/migrate/20170517064114_create_phcscriptcdn_scriptversion_versions.rb
phcscriptcdn-10.0.1 db/migrate/20170517064114_create_phcscriptcdn_scriptversion_versions.rb
phcscriptcdn-10.0.0 db/migrate/20170517064114_create_phcscriptcdn_scriptversion_versions.rb
phcscriptcdn-9.0.0 db/migrate/20170517064114_create_phcscriptcdn_scriptversion_versions.rb