Class: Multitenant::Views::Refresh

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

Instance Method Summary collapse

Instance Method Details

#refresh_all_viewsObject



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

def refresh_all_views
  Multitenant::Views::SQL::Drop.run
  Multitenant::Views::SQL::Create.run
end