Class: Multitenant::Triggers::Refresh
- Inherits:
-
Rails::Generators::Base
- Object
- Rails::Generators::Base
- Multitenant::Triggers::Refresh
- Defined in:
- lib/generators/multitenant/triggers/refresh_generator.rb
Instance Method Summary collapse
Instance Method Details
#refresh_all_triggers ⇒ Object
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 |