Sha256: 81cc966a76dd0905c1a7ffb03d5fcd449e26d926d9f76a7d7d2d249d416fe8bb

Contents?: true

Size: 535 Bytes

Versions: 18

Compression:

Stored size: 535 Bytes

Contents

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

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

  end
end

Version data entries

18 entries across 18 versions & 1 rubygems

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