Sha256: d21dfd705d9e120b7249e3059f1c1a3a888556cc19eaaaba33dac63970ebe88c

Contents?: true

Size: 546 Bytes

Versions: 9

Compression:

Stored size: 546 Bytes

Contents

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

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

  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
phcdevworks_scripts-3.0.1 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-3.0.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-2.3.1 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-2.3.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-2.2.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-2.1.1 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-2.1.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-1.0.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-0.1.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb