[CoLab] Email notifications are not sending
on the control page of an article, (/decision) if you click [new user] just a little FYI, clicking [new user] and entering data and clicking 'notify' is broken at the moment... error messages coming in the log files complaining about a new column channel_id on table messages... is that a recent change? i don't seem to have that change locally... error: insert into "messages" ("created", "id", "updated", "user_id") values ($1, $2, $3, $4) returning "id" - null value in column "channel_id" violates not-null constraint name=NotNullViolationError, length=323, name=error, severity=ERROR, code=23502, detail=Failing row contains (4345b37c-9d5e-4e67-8e43-dd7d45170d25, 4ce5691c-9ae9-49c2-ac7a-359893a06307, null, 2022-04-04 12:51:03.564+00, 2022-04-04 12:51:03.564+00, null)., hint=undefined, position=undefined, internalPosition=undefined, internalQuery=undefined, where=undefined, schema=public, table=messages, column=channel_id, dataType=undefined, constraint=undefined, file=execMain.c, line=2016, routine=ExecConstraints, originalStack=error: insert into "messages" ("created", "id", "updated", "user_id") values ($1, $2, $3, $4) returning "id" - null value in column "channel_id" violates not-null constraint
channel_id is not a new addition to the message table. I believe the graphql query is getting a value channel_id: null which throws this error. After sending notification a create message query is triggered to log the email sent which is missing the channel_id / its null I assume which causes this error!