Skip to content

moderation log: fix improperly migrated data

rinpatch requested to merge fix/moderation-log-crashes into release/2.0.0

Some of the actions used to have a user map as a subject, which was then changed to an array of user maps. However instead of migrating old data there was just a hack to transform it every time, moreover this hack didn't include all possible actions, which resulted in crashes. This commit fixes the crashes by introducing a proper database migration for old data.

Closes #1606 (closed)

Edited by rinpatch

Merge request reports