Sha256: bb3666ef44fadb98eaba067d33a79f86162fb12ca1258a39938498cff5118398

Contents?: true

Size: 231 Bytes

Versions: 25

Compression:

Stored size: 231 Bytes

Contents

# frozen_string_literal: true

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

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

Version data entries

25 entries across 25 versions & 2 rubygems

Version Path
velocity_audited-5.1.4 lib/generators/audited/templates/add_remote_address_to_audits.rb
velocity_audited-5.1.3 lib/generators/audited/templates/add_remote_address_to_audits.rb
audited-5.0.2 lib/generators/audited/templates/add_remote_address_to_audits.rb
audited-5.0.1 lib/generators/audited/templates/add_remote_address_to_audits.rb
audited-5.0.0 lib/generators/audited/templates/add_remote_address_to_audits.rb