-
Notifications
You must be signed in to change notification settings - Fork 1.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Guild deletion #16
Comments
The schema has a foreign key for guilds.id with ON DELETE CASCADE. It might have been missing initially and as it looks like was never patched by the database updater. The table is currently unused by the server, but will be kept for people to implement guild invitations on their own using the table. To add the foreign key, execute this query: |
Deleting guild from the table
guilds
deletesguild_membership
,guild_ranks
but it doesnt deleteguild_invites
(didnt test any other and didnt import new schema, is old database "optimized").The text was updated successfully, but these errors were encountered: