kirkbushell / eloquence

A drop-in library for certain database functionality in Laravel, that allows for extra features that may never make it into the main project.
MIT License
547 stars 58 forks source link

This doesn't work well with pivot tables. #19

Closed brenjt closed 9 years ago

brenjt commented 9 years ago

If I have a pivot table, upon attaching the database throws an error saying that the ID does not have a default value. I assume that laravel isn't using the your Model when inserting the new record.

Any thoughts?

kirkbushell commented 9 years ago

You'll need to show your model setup brenjt, else I can't help. I haven't seen this issue personally.

kirkbushell commented 9 years ago

@brenjt - if you can show the issue you're having by showing some code you're using, happy to help - otherwise I'll close this issue.