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 {
36
36
try site. insert ( db)
37
37
38
38
for product in catalog. productsToPersist {
39
- try product. insert ( db, onConflict: . ignore )
39
+ try product. insert ( db, onConflict: . replace )
40
40
}
41
41
42
42
for image in catalog. productImagesToPersist {
43
- try image. insert ( db, onConflict: . ignore )
43
+ try image. insert ( db, onConflict: . replace )
44
44
}
45
45
46
46
for var attribute in catalog. productAttributesToPersist {
47
47
try attribute. insert ( db)
48
48
}
49
49
50
50
for variation in catalog. variationsToPersist {
51
- try variation. insert ( db, onConflict: . ignore )
51
+ try variation. insert ( db, onConflict: . replace )
52
52
}
53
53
54
54
for image in catalog. variationImagesToPersist {
55
- try image. insert ( db, onConflict: . ignore )
55
+ try image. insert ( db, onConflict: . replace )
56
56
}
57
57
58
58
for var attribute in catalog. variationAttributesToPersist {
You can’t perform that action at this time.
0 commit comments