Describe the bug
When seeding data for developer testing, there seem to be no company representative associated with a company. That leads to an error being generated when opening a company request page.
To Reproduce
Steps to reproduce the behavior:
Create a fresh development envrionment by php artisan migrate:fresh --seed
Go to 'Admin' -> 'Companies'
Click on One of the companies
The error appears
Expected behavior
The company show page should appear
Screenshots
Desktop (please complete the following information):
any
Smartphone (please complete the following information):
any
Additional context
Note that this is just for the development, but it might have an impact on the migrations for the column that holds the FK to the company rep appears to be nullable.
Describe the bug When seeding data for developer testing, there seem to be no company representative associated with a company. That leads to an error being generated when opening a company request page.
To Reproduce Steps to reproduce the behavior:
php artisan migrate:fresh --seed
Expected behavior The company show page should appear
Screenshots
Desktop (please complete the following information):
Smartphone (please complete the following information):
Additional context Note that this is just for the development, but it might have an impact on the migrations for the column that holds the FK to the company rep appears to be
nullable
.