Make sure we keep the announced status of each app (#770)

* Make sure we keep the announced status of each app

- Since we were running onConflict().merge() we were keeping our entire
  new object from our remapRow method, and that was overwriting the
  current announcement status of the row back to false, unless we'd by
  random chance actually set the announced property on our row to be
  inserted.
* Add migration for cleaning up application-created events
-
fixes: #769
This commit is contained in:
Christopher Kolstad
2021-03-23 12:43:33 +01:00
committed by GitHub
parent eca168c500
commit 2e13bb9368
7 changed files with 258 additions and 23 deletions
+1 -1
View File
@@ -81,7 +81,7 @@
"helmet": "^4.1.0",
"joi": "^17.3.0",
"js-yaml": "^3.14.0",
"knex": "0.21.15",
"knex": "0.95.2",
"log4js": "^6.0.0",
"memoizee": "^0.4.15",
"mime": "^2.4.2",