You may need to specify your primary Key in Eloquent model as well
Eloquent will also assume that each table has a primary key column named id. You may define a primaryKey property to override this convention
thanks @technet the "custom named" primary key should be defined in the schema builder? eg. table->increments('myid'); ?
Sign in to participate in this thread!
We'd like to thank these amazing companies for supporting us
The Laravel portal for problem solving, knowledge sharing and community building.