thedevdojo / voyager

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

Bread: A table was not found #4951

Closed ugurtasar closed 4 years ago

ugurtasar commented 4 years ago

Version information

Steps To Reproduce

Steps to reproduce the behavior:

  1. Go to http://localhost/admin/database/create Fill like: Table name: 'project' Create model for this table?: 'Yes, please'
  2. Click on 'Create New Table'
  3. Click on 'Add BREAD to this table'
  4. Scroll down
  5. Click on 'Submit'
  6. Go to http://localhost/admin/project
  7. See error

Table name seems 'projects' on bread, but real table name is 'project'

Screenshot: http://prntscr.com/smihku

Extras: When try to create 'projects' table, it success. I want to use spesific table names without 's' Maybe i missed some steps, i don't know.

emptynick commented 4 years ago

You might want to follow eloquents naming conventions

ugurtasar commented 4 years ago

Thank you.

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.