Class: PgAuditLog::Generators::InstallGenerator

Inherits:
ActiveRecord::Generators::Base
  • Object
show all
Defined in:
lib/generators/pg_audit_log/install_generator.rb

Instance Method Summary collapse

Instance Method Details

#installObject



12
13
14
15
# File 'lib/generators/pg_audit_log/install_generator.rb', line 12

def install
  directory "lib/tasks"
  migration_template "migration.rb", "db/migrate/install_pg_audit_log.rb"
end