Skip to content

Commit

Permalink
Alter database task to seed instead of populate_data in case someone …
Browse files Browse the repository at this point in the history
…misses it and checks seeds.rb first
  • Loading branch information
christoshrousis committed Apr 22, 2017
1 parent f8ae147 commit 9a33b3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/tasks/db.rake
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
namespace :db do
task do: ["db:drop", "db:create", "db:migrate", "db:populate_data", "db:test:prepare"]
task do: ["db:drop", "db:create", "db:migrate", "db:seed", "db:test:prepare"]

task populate_data: :environment do
require Rails.root.join("db", "populate_data.rb")
require Rails.root.join("db", "seed.rb")
end
end

0 comments on commit 9a33b3c

Please sign in to comment.