class AddObjectChangesToVersions

Constants

TEXT_BYTES

See `create_versions.rb` for details.

Public Instance Methods

change() click to toggle source
# File lib/generators/slickr/templates/migrations/add_object_changes_to_versions.rb, line 6
def change
  add_column :versions, :object_changes, :text, limit: TEXT_BYTES
end