Closed jimgwhit closed 8 years ago
Hi @jimgwhit
At the moment NVD CRUD generator accepts only 'id' column as the primary key. Change 'petid' to 'id' in your database table and the problem will be gone.
P.S. Having a primary key other than 'id' will be supported in upcoming versions. But right now, you have to follow the convention.
Thanks for the reply, any idea how soon the version will be out that supports other than id?
It's the first thing on my Todo list.
Do you have any news?
The generator worked, but no edit page or view page will show, just got errors. Using laravel 5.2. Search and pagination works. Im my table, petid is primary key, I get
I tryed changing all occurances of id to petid, still nothing. In model
I tryed changing
to
also tryed changing
to
I have tryed various combinations of id and petid.