saucy/db/migrate/20220626100610_add_object_c...

9 lines
301 B
Ruby

# This migration adds the optional `object_changes` column, in which PaperTrail
# will store the `changes` diff for each update event. See the readme for
# details.
class AddObjectChangesToVersions < ActiveRecord::Migration[7.0]
def change
add_column :versions, :object_changes, :json
end
end