Method: MigrationHelpers::Common#table_name_for_shared
- Defined in:
- lib/migrate/common.rb
#table_name_for_shared(engine, table_name) ⇒ Object
36 37 38 39 40 41 |
# File 'lib/migrate/common.rb', line 36 def table_name_for_shared(engine, table_name) table_name = "#{engine}_#{table_name}".to_sym table_name_account = "#{engine}_accounts".to_sym return [table_name, table_name_account] end |