Sha256: cbaa05dd005ecc9dc79a0220508b79a5c4659a71e645640331814f7d88ad2ef8

Contents?: true

Size: 285 Bytes

Versions: 9

Compression:

Stored size: 285 Bytes

Contents

class AddObjectChangesToVersions < ActiveRecord::Migration

  # The largest text column available in all supported RDBMS.
  # See `create_versions.rb` for details.
  TEXT_BYTES = 1_073_741_823

  def change
    add_column :versions, :object_changes, :text, limit: TEXT_BYTES
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
rails_admin_cms-0.1.1 db/migrate/20150111082039_add_object_changes_to_versions.rb
rails_admin_cms-0.0.9 db/migrate/20150111082039_add_object_changes_to_versions.rb
rails_admin_cms-0.0.7 db/migrate/20150111082039_add_object_changes_to_versions.rb
paper_trail-4.0.2 lib/generators/paper_trail/templates/add_object_changes_to_versions.rb
rails_admin_cms-0.0.6 db/migrate/20150111082039_add_object_changes_to_versions.rb
rails_admin_cms-0.0.5 db/migrate/20150111082039_add_object_changes_to_versions.rb
paper_trail-4.0.1 lib/generators/paper_trail/templates/add_object_changes_to_versions.rb
paper_trail-4.0.0 lib/generators/paper_trail/templates/add_object_changes_to_versions.rb
paper_trail-4.0.0.rc2 lib/generators/paper_trail/templates/add_object_changes_to_versions.rb