Sha256: 6a9f1f012c247df1c3543e765f75d906c54d4ce14f622eb8f7a7b19e7bcd9bce

Contents?: true

Size: 548 Bytes

Versions: 28

Compression:

Stored size: 548 Bytes

Contents

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

    create_table :phcpresspro_connection_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 :phcpresspro_connection_versions, %i(item_type item_id), :name => 'presspro_connection_versions'

  end
end

Version data entries

28 entries across 28 versions & 1 rubygems

Version Path
phcpresspro-69.1.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-69.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-68.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-67.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-66.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-65.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-64.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-63.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-62.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-61.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-60.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-59.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-58.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-57.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-56.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-55.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-54.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-53.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-52.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-51.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb