Commit 5531e68
committed
Pass skip_if_exists=True when running seed from __main__
The Cypress CI runner calls python -m transfers.seed on each run. Without
skip_if_exists, seed_all tries to insert contacts even when they already
exist from a prior run, hitting the unique constraint on (name, organization)
and crashing. The guard was already implemented in seed_all but not used
at the call site.1 parent e167081 commit 5531e68
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
460 | 460 | | |
461 | 461 | | |
462 | 462 | | |
463 | | - | |
| 463 | + | |
0 commit comments