Sha256: 1c833b982e2869368d38f5b2dfef9f90cfc95c04b4e5ef71399c4302ecd360a5

Contents?: true

Size: 206 Bytes

Versions: 122

Compression:

Stored size: 206 Bytes

Contents

class AddObjectChangesColumnToVersions < ActiveRecord::Migration
  def self.up
    add_column :versions, :object_changes, :text
  end

  def self.down
    remove_column :versions, :object_changes
  end
end

Version data entries

122 entries across 122 versions & 4 rubygems

Version Path
paper_trail-3.0.0.beta1 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.7.2 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.7.1 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.7.0 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.6.4 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.6.3 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.6.2 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.6.1 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.6.0 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.5.2 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.5.0 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.4.1 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.4.0 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
bkwld-paper_trail-2.3.3 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.3.3 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
bkwld-paper_trail-2.3.2 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.3.2 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.3.1 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.3.0 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb
paper_trail-2.2.9 lib/generators/paper_trail/templates/add_object_changes_column_to_versions.rb