minor changes

Signed-off-by: gitta-mannen <mail@janpettersson.com>
Fixed issues with foreign key.
Events, event details and fight index work against the web.

Signed-off-by: gitta-mannen <mail@janpettersson.com>