Skip to content

Commit

Permalink
destroy all users & roles before seeding data
Browse files Browse the repository at this point in the history
  • Loading branch information
JuzerShakir committed Feb 9, 2024
1 parent 27be1a7 commit d3665f3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions db/seeds.rb
Original file line number Diff line number Diff line change
@@ -1,4 +1,6 @@
Sabeel.destroy_all
User.destroy_all
Role.destroy_all

# CREATE SABEEL
100.times do |i|
Expand Down

0 comments on commit d3665f3

Please sign in to comment.