I've got an error
SQLSTATE[42S02]: Base table or view not found: 1146 Table 'phpixie.persons' doesn't exist
when queuering table 'people':
public function getPerson($person_id)
{
return $this->components()->orm()->query('person')
->where('id', $person_id)
->findOne();
}
From documentation:
By default ORM assumes that the table name is the plural of the name of the model, and that the name of the primary key is ‘id’.
How can i specify table name directly?
PS Or specify rules list like EnglishPluralizationService:
{"child", "children"} {"corpus","corpora"} {"person", "people"}