Fixed potential guild message SQL constraints
i have tied member dependencies to the author id rather than the member id to avoid a dependency cycle and you can now kick/ban someone from a guild/server and the messages will remain in the guild (just like discord) as stated in issue #441

I have also tested this code seems clean so far
(new pull request opened because of branch commit issues)
1 parent f132065 commit 716ea8b233b9a2d958da403ce546540e789d1482
@unknownPerson115 unknownPerson115 authored on 24 Dec 2021
GitHub committed on 24 Dec 2021
Showing 1 changed file
View
util/src/entities/Message.ts