Sha256: 4b6da76e323a95aa42a862395245e7e2154ab60ccedf4385ea5ae7ba1fe24be1

Contents?: true

Size: 522 Bytes

Versions: 10

Compression:

Stored size: 522 Bytes

Contents

class CreatePhcscriptcdnLicenceVersions < ActiveRecord::Migration[5.2]
  TEXT_BYTES = 1_073_741_823
  def change

    create_table :phcscriptcdn_licence_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_licence_versions, %i(item_type item_id), :name => 'scriptcdn_licence_versions'

  end
end

Version data entries

10 entries across 10 versions & 1 rubygems

Version Path
phcscriptcdn-48.0.0 db/migrate/20170517064427_create_phcscriptcdn_licence_versions.rb
phcscriptcdn-47.0.0 db/migrate/20170517064427_create_phcscriptcdn_licence_versions.rb
phcscriptcdn-44.1.0 db/migrate/20170517064427_create_phcscriptcdn_licence_versions.rb
phcscriptcdn-45.0.0 db/migrate/20170517064427_create_phcscriptcdn_licence_versions.rb
phcscriptcdn-44.0.0 db/migrate/20170517064427_create_phcscriptcdn_licence_versions.rb
phcscriptcdn-43.0.0 db/migrate/20170517064427_create_phcscriptcdn_licence_versions.rb
phcscriptcdn-42.0.0 db/migrate/20170517064427_create_phcscriptcdn_licence_versions.rb
phcscriptcdn-41.0.0 db/migrate/20170517064427_create_phcscriptcdn_licence_versions.rb
phcscriptcdn-27.0.0 db/migrate/20170517064427_create_phcscriptcdn_licence_versions.rb
phcscriptcdn-26.0.0 db/migrate/20170517064427_create_phcscriptcdn_licence_versions.rb