Sha256: fc4bad947f3cef3ac8cbd0529326482b50ede55fc605037f8f9bccde0837fafd

Contents?: true

Size: 536 Bytes

Versions: 18

Compression:

Stored size: 536 Bytes

Contents

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

    create_table :phcscriptcdnpro_url_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_url_versions, %i(item_type item_id), :name => 'scriptcdnpro_url_versions'

  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

Version Path
phcscriptcdnpro-40.0.0 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-39.0.1 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-39.0.0 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-38.1.0 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-38.0.0 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-37.0.0 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-36.1.0 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-36.0.0 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-35.0.1 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-34.1.0 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-34.0.0 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-33.0.0 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-32.0.1 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-32.0.0 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-31.0.0 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-30.1.0 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-30.0.0 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb
phcscriptcdnpro-29.0.0 db/migrate/20170517064150_create_phcscriptcdnpro_url_versions.rb