mirror of
https://github.com/internetee/registry.git
synced 2025-05-17 09:57:23 +02:00
Updated db:all rake task
This commit is contained in:
parent
35822ee4d5
commit
1be1c23b53
1 changed files with 2 additions and 2 deletions
|
@ -20,8 +20,8 @@ namespace :db do
|
||||||
|
|
||||||
ActiveRecord::Base.clear_all_connections!
|
ActiveRecord::Base.clear_all_connections!
|
||||||
ActiveRecord::Base.establish_connection(Rails.env.to_sym)
|
ActiveRecord::Base.establish_connection(Rails.env.to_sym)
|
||||||
puts "\n---------------------------- Import seed ----------------------------------------\n"
|
# puts "\n---------------------------- Import seed ----------------------------------------\n"
|
||||||
Rake::Task['db:seed'].invoke
|
# Rake::Task['db:seed'].invoke
|
||||||
puts "\n All done!\n\n"
|
puts "\n All done!\n\n"
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue