thedevdojo / voyager

Voyager - The Missing Laravel Admin
https://voyager.devdojo.com
MIT License
11.78k stars 2.67k forks source link

Get exception after creating BREAD for any table. #5232

Closed Flancy closed 3 years ago

Flancy commented 3 years ago

Version information

Description

Within creating BREAD to the table through voyager functionality, i have got the bug - i guess it about request to plural table name, but i might be wrong. It's pretty basic and MAIN functionality of Voyager, so i still dont know, why other developers did not report of that. Please check it out!

Steps To Reproduce

Steps to reproduce the behavior:

  1. Go to the section 'Create New Table', creating some table, done;
  2. Then we go to the section 'Create BREAD' to create the BREAD for our created new table, looks like created, but it NOT;
  3. If you wanna browse, edit/show that new BREAD, then we get an exception;
  4. See error in screenshot

Screenshots

1-Step 1 2-Step 2 3-Step 3 4-Step 4

MrCrayon commented 3 years ago

Voyager follows Laravel conventions and table names should be plural. If you are using a singular name for a table you'll need to specify that in your model. All of this is more about Laravel standards then Voyager.

github-actions[bot] commented 3 years ago

This issue has been automatically locked since there has not been any recent activity after it was closed. If you have further questions please ask in our Slack group.