Class: CreateAuditorTables

Inherits:
ActiveRecord::Migration
  • Object
show all
Defined in:
lib/rails/generators/auditor/templates/migration.rb

Class Method Summary collapse

Class Method Details

.downObject



6
7
8
# File 'lib/rails/generators/auditor/templates/migration.rb', line 6

def self.down
  drop_table :auditor_logs
end

.upObject



2
3
4
# File 'lib/rails/generators/auditor/templates/migration.rb', line 2

def self.up
  SCHEMA_AUTO_INSERTED_HERE
end