pull dep mgirations from credential

credential pulls mdm, so we don't combine these
bug/bundler_fix
David Maloney 2016-05-06 11:57:40 -05:00
parent 0b89277394
commit 1ffab935cc
No known key found for this signature in database
GPG Key ID: DEDBA9DC3A913DB2
1 changed files with 1 additions and 1 deletions

View File

@ -2,7 +2,7 @@ namespace :db do
# Add onto the task so that after adding Rails.application.paths['db/migrate']
task :load_config do
# It's important to call to_a or the paths will just be relative and not realpaths
gem_migrations = MetasploitDataModels::Engine.instance.paths['db/migrate'].to_a + Metasploit::Credential::Engine.instance.paths['db/migrate'].to_a
gem_migrations = Metasploit::Credential::Engine.instance.paths['db/migrate'].to_a
#ActiveRecord::Migrator.migrations_paths += gem_migrations
ActiveRecord::Tasks::DatabaseTasks.migrations_paths += gem_migrations
end