Documentation

Connection establishment between the model and the database table

Or copy link

Connection establishment between the model and the database table

Estimated reading: minutes 13 views

13 views
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.

Share

Leave a Comment