Skip to content
This repository has been archived by the owner on Aug 20, 2021. It is now read-only.

Add delete cascade for events #18

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open

Add delete cascade for events #18

wants to merge 1 commit into from

Conversation

bux
Copy link

@bux bux commented Feb 24, 2019

New Dump from a MariaDB database with an added FK Constraint on replayId.

The goal was to make deleting events easier. Now one just needs to delete the replay and the associated events get deleted automatically.

And I've changed the id column of the replays table to be unsigned (just like the replayId column of the events table)

Needed to change order of tables for the constraint to properly/reliably work.

New Dump from a MariaDB database with an added FK Constraint on replayId
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant