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-50.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-49.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-48.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-47.1.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-47.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-43.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-42.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb
phcpresspro-41.0.0 db/migrate/20170517064114_create_phcpresspro_connection_versions.rb