added foreign keys & shifted dump from ruby to sql format (using config.active_record.schema_format :sql -- in application.rb)