URL copied to clipboard
Connection establishment between the model and the database table
3 views
__readtime__ Min
read
1. Let’s establish the connection between the model and the database table by adding the below code in the file Classes.php. The file path is employeeConfigurationExtbasePersistenceClasses.php
CompanyEmployeeDomainModelJob::class => [
'tableName' => 'tx_employee_domain_model_job',
],
2. Below is the screenshot after adding the above code in Classes.php file.
3. Save the file, toggle the extension (Deactivate once and then activate again), or go to Maintainance > Flush TYPO3 and PHP cache and click on the button “Flush cache” an the table will be created.