This repository was archived by the owner on Feb 4, 2025. It is now read-only.
Commit 04da183
Thomas Horta
Add ON CONFLICT statement to Prompts migration
This avoids crashes when, for some reason, the Prompts table has multiple
entries for the same day. There's no harm dropping duplicate entries as we fetch
prompts and overwrite frequently.1 parent b61e04f commit 04da183
File tree
1 file changed
+3
-1
lines changed- fluxc/src/main/java/org/wordpress/android/fluxc/persistence
1 file changed
+3
-1
lines changedLines changed: 3 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
338 | 338 | | |
339 | 339 | | |
340 | 340 | | |
341 | | - | |
| 341 | + | |
| 342 | + | |
| 343 | + | |
342 | 344 | | |
343 | 345 | | |
344 | 346 | | |
| |||
0 commit comments