You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I was able to still run the function without passing in the userId or eventId. The queries still worked which might also mean that foreign keys aren't. I think we're missing one from picture_events.eventId to events.id.
Fixed this by adding NOT NULL to both columns in the picture_events table;
Still need to add parameter validation.
The text was updated successfully, but these errors were encountered:
hmm, yeah I was thinking about a nice way to do validation. I want to see there's a nice way to do before and after filters with express. That way we can write a universal validate function and call it before we route.
I was able to still run the function without passing in the userId or eventId.
The queries still worked which might also mean that foreign keys aren't.I think we're missing one from picture_events.eventId to events.id.Fixed this by adding NOT NULL to both columns in the picture_events table;
Still need to add parameter validation.
The text was updated successfully, but these errors were encountered: