Hotfix/fix legacy user eventtypes (#3116)
* includedDates would always disable excludedDates due to empty array * Added migration to add all userids into _user_eventtype Co-authored-by: Omar López <zomars@me.com>pull/3120/head
parent
591309f335
commit
1b81e6d8ec
|
@ -0,0 +1,4 @@
|
|||
INSERT INTO _user_eventtype ("A", "B")
|
||||
SELECT id, "userId" from "EventType"
|
||||
LEFT JOIN _user_eventtype on ("A" = "EventType".id)
|
||||
WHERE "A" IS NULL and "userId" IS NOT NULL;
|
Loading…
Reference in New Issue