smith11235 / deep_import

Ruby Gem for quick, standard code, for faster batched imports of complex nested data/models.
0 stars 0 forks source link

modify generated migration for postgre support #10

Closed smith11235 closed 10 years ago

smith11235 commented 10 years ago

1) for all deep_import__id field additions, add :references => false to disable the active record check to ensure a deep_import_s table exists.

2) keep a counter for the number of indexes added. For each index, add the suffix _#{counter} to make them uniquely named.

smith11235 commented 10 years ago

working on getting specs to pass for a hash of table names added to the end of index names.

smith11235 commented 10 years ago

I need to use the establish_connection method to build specs for: spec/db/mysql_spec.rb spec/db/postgres_spec.rb