Sha256: 73f852080efc3853271563ab8fb252e6b13ffc30aefcd9771477f363e0e60d6a

Contents?: true

Size: 185 Bytes

Versions: 9

Compression:

Stored size: 185 Bytes

Contents

class <%= migration_class_name %> < <%= migration_parent %>
  def self.up
    add_column :audits, :comment, :string
  end

  def self.down
    remove_column :audits, :comment
  end
end

Version data entries

9 entries across 9 versions & 1 rubygems

Version Path
audited-4.10.0 lib/generators/audited/templates/add_comment_to_audits.rb
audited-4.9.0 lib/generators/audited/templates/add_comment_to_audits.rb
audited-4.8.0 lib/generators/audited/templates/add_comment_to_audits.rb
audited-4.7.1 lib/generators/audited/templates/add_comment_to_audits.rb
audited-4.7.0 lib/generators/audited/templates/add_comment_to_audits.rb
audited-4.6.0 lib/generators/audited/templates/add_comment_to_audits.rb
audited-4.5.0 lib/generators/audited/templates/add_comment_to_audits.rb
audited-4.4.1 lib/generators/audited/templates/add_comment_to_audits.rb
audited-4.4.0 lib/generators/audited/templates/add_comment_to_audits.rb