Sha256: 292d4fc632117aa0c78cdadd1075d049b83321607236dcd3c09b8d13016d8ed4

Contents?: true

Size: 540 Bytes

Versions: 15

Compression:

Stored size: 540 Bytes

Contents

class CreatePhcdevworksScriptsLicenceVersions < ActiveRecord::Migration[6.0]
  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 => 'script_licence_versions'

  end
end

Version data entries

15 entries across 15 versions & 1 rubygems

Version Path
phcdevworks_scripts-5.8.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-5.7.1 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-5.7.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-5.6.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-5.5.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-5.4.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-5.3.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-5.2.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-5.1.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-5.0.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-4.1.1 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-4.1.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-4.0.2 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-4.0.1 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb
phcdevworks_scripts-4.0.0 db/migrate/20170517064427_create_phcdevworks_scripts_licence_versions.rb