I am trying to create a unit test company, but I do not know what fields / attributes of the model.
So I look App\Company.php, but there is no list of fields.
Then I look at the migrations, but I need to go through each of them to find the available fields.
So, as a last resort, I open the DB Explorer to find which fields are in the model.
Is there an easier way to find out which fields exist in the model?
source
share