Class: Multitenant::Triggers::Refresh

Inherits:
Rails::Generators::Base
  • Object
show all
Defined in:
lib/generators/multitenant/triggers/refresh_generator.rb

Instance Method Summary collapse

Instance Method Details

#refresh_all_triggersObject



10
11
12
13
# File 'lib/generators/multitenant/triggers/refresh_generator.rb', line 10

def refresh_all_triggers
  Multitenant::Triggers::SQL::Drop.run
  Multitenant::Triggers::SQL::Create.run
end