I installed Laravel Filament and followed some tutorials. Then I tried it using sql server. I already have my database table but when I create a filament resource and click the menu then I encounter this error :
So the first thing I do is to google for this error. But it seems that no one has encountered it yet. So I tried to solve it on my own. What I found out is that filament is looking for an id in the table with small i while I use capital I.
This is my table:
So I changed the Id in my table into id, like this :
and the error goes away.
Hope this helps.
Thanks guys.
Top comments (0)