Sha256: 9b94fa0e2e5e08dc517e6315989fad26cc5df0aca442e9f713b2c9a9704773ae

Contents?: true

Size: 540 Bytes

Versions: 7

Compression:

Stored size: 540 Bytes

Contents

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

    create_table :phcscriptcdnpro_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 :phcscriptcdnpro_address_versions, %i(item_type item_id), :name => 'scriptcdnpro_address_versions'

  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
phcscriptcdnpro-17.1.0 db/migrate/20170517064114_create_phcscriptcdnpro_scriptversion_versions.rb
phcscriptcdnpro-17.0.0 db/migrate/20170517064114_create_phcscriptcdnpro_scriptversion_versions.rb
phcscriptcdnpro-16.1.0 db/migrate/20170517064114_create_phcscriptcdnpro_scriptversion_versions.rb
phcscriptcdnpro-16.0.0 db/migrate/20170517064114_create_phcscriptcdnpro_scriptversion_versions.rb
phcscriptcdnpro-15.2.0 db/migrate/20170517064114_create_phcscriptcdnpro_scriptversion_versions.rb
phcscriptcdnpro-15.1.0 db/migrate/20170517064114_create_phcscriptcdnpro_scriptversion_versions.rb
phcscriptcdnpro-15.0.0 db/migrate/20170517064114_create_phcscriptcdnpro_scriptversion_versions.rb