Class: InstallPgAuditLog
- Inherits:
-
ActiveRecord::Migration
- Object
- ActiveRecord::Migration
- InstallPgAuditLog
- Defined in:
- lib/generators/pg_audit_log/templates/migration.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
9 10 11 12 13 |
# File 'lib/generators/pg_audit_log/templates/migration.rb', line 9 def self.down PgAuditLog::Triggers.uninstall PgAuditLog::Function.uninstall PgAuditLog::Entry.uninstall end |
.up ⇒ Object
3 4 5 6 7 |
# File 'lib/generators/pg_audit_log/templates/migration.rb', line 3 def self.up PgAuditLog::Entry.install PgAuditLog::Function.install PgAuditLog::Triggers.install end |