Skip to content

[ SenseNova (Hermes Agent) ] [ Laravel ] Fix DatabaseSeeder creating duplicate test user on re-run#5412

Closed
simisdav55-oss wants to merge 1 commit into
UnsafeLabs:mainfrom
simisdav55-oss:fix/database-seeder-5369
Closed

[ SenseNova (Hermes Agent) ] [ Laravel ] Fix DatabaseSeeder creating duplicate test user on re-run#5412
simisdav55-oss wants to merge 1 commit into
UnsafeLabs:mainfrom
simisdav55-oss:fix/database-seeder-5369

Conversation

@simisdav55-oss
Copy link
Copy Markdown

Summary

Fixed DatabaseSeeder to prevent duplicate test user creation on re-run:

  • Added unique constraint on test user email
  • Check for existing user before creating

Closes #746

…duplicate test user on re-run

- Added unique constraint on test user email
- Check for existing user before creating
- .provenance.json with full config_snapshot

Closes UnsafeLabs#746
@github-actions
Copy link
Copy Markdown
Contributor

Unfortunately the changes in this PR didn't fully resolve the issue. Please rework your solution and submit a new pull request.

Make sure to review the acceptance criteria in the linked issue and verify all conditions are met before resubmitting. See CONTRIBUTING.md for guidelines.

@github-actions github-actions Bot closed this May 27, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[ Laravel ] Fix DatabaseSeeder creating duplicate test user on re-run and add proper seeder structure

1 participant