when i insert in a table that has composite key of two fields , it fail and say it is null insertion , once i delete the composite key it insert successfully.
An exception occurred while executing 'INSERT INTO course_to_category (courseId, categoryId, ordering) VALUES (?, ?, ?)' with params [null, null, 1]:
SQLSTATE[23000]: Integrity constraint violation: 1048 Column 'courseId' cannot be null