Class: Strongbolt::Generators::IndexesGenerator

Inherits:
Rails::Generators::Base
  • Object
show all
Includes:
Migration
Defined in:
lib/generators/strongbolt/indexes_generator.rb

Overview

Creates a migration to fix a has many through with users tenants problem

Instance Method Summary collapse

Methods included from Migration

included

Instance Method Details

#copy_fixObject



13
14
15
# File 'lib/generators/strongbolt/indexes_generator.rb', line 13

def copy_fix
  copy_migration 'indexes', 'create_strongbolt_tables_indexes'
end