Commit 86b0d7f
committed
Create options index ourselves instead of using dbDelta. Fixes #34.
dbDelta is a whitespace-dependent dumpster fire that should be avoided
whenever possible. It was creating a new unique index every time
createOptionsTable was run. This fixes that problem and adds a log message
if index creation fails (dbDelta silently ignores failure).1 parent bb2427b commit 86b0d7f
1 file changed
Lines changed: 10 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
271 | 271 | | |
272 | 272 | | |
273 | 273 | | |
274 | | - | |
| 274 | + | |
275 | 275 | | |
276 | 276 | | |
277 | 277 | | |
| |||
280 | 280 | | |
281 | 281 | | |
282 | 282 | | |
| 283 | + | |
| 284 | + | |
| 285 | + | |
| 286 | + | |
| 287 | + | |
| 288 | + | |
| 289 | + | |
| 290 | + | |
| 291 | + | |
283 | 292 | | |
284 | 293 | | |
285 | 294 | | |
| |||
0 commit comments