Skip to content

Commit

Permalink
update seeds (#64)
Browse files Browse the repository at this point in the history
  • Loading branch information
LeozMaxwellJilliams authored Apr 6, 2020
1 parent 69cae5c commit 08c430f
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions db/seeds.rb
Original file line number Diff line number Diff line change
Expand Up @@ -86,9 +86,6 @@

# set foreign keys
flowchart[:root_id] = node1.id
node1[:child_id] = node2.id
node2[:child_id] = node3.id
node2[:child_id] = node4.id

# write changes
flowchart.save!
Expand All @@ -101,4 +98,4 @@
node5.save!
node6.save!
end
AdminUser.create!(email: '[email protected]', password: 'password', password_confirmation: 'password') if Rails.env.development?
AdminUser.create!(email: '[email protected]', password: 'password', password_confirmation: 'password')

0 comments on commit 08c430f

Please sign in to comment.