File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed
Modules/Sources/Yosemite/Tools/POS Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -36,23 +36,23 @@ final class POSCatalogPersistenceService: POSCatalogPersistenceServiceProtocol {
3636 try site. insert ( db)
3737
3838 for product in catalog. productsToPersist {
39- try product. insert ( db, onConflict: . ignore )
39+ try product. insert ( db, onConflict: . replace )
4040 }
4141
4242 for image in catalog. productImagesToPersist {
43- try image. insert ( db, onConflict: . ignore )
43+ try image. insert ( db, onConflict: . replace )
4444 }
4545
4646 for var attribute in catalog. productAttributesToPersist {
4747 try attribute. insert ( db)
4848 }
4949
5050 for variation in catalog. variationsToPersist {
51- try variation. insert ( db, onConflict: . ignore )
51+ try variation. insert ( db, onConflict: . replace )
5252 }
5353
5454 for image in catalog. variationImagesToPersist {
55- try image. insert ( db, onConflict: . ignore )
55+ try image. insert ( db, onConflict: . replace )
5656 }
5757
5858 for var attribute in catalog. variationAttributesToPersist {
You can’t perform that action at this time.
0 commit comments