URL copied to clipboard
Table creation for CRUD
4 views
__readtime__ Min
read
Before creating the table, the definition should be clear for the CRUD. Fields for the Employees are as below:
- Firstname
- Last Name
- Gender
- BirthDate
- Joining Date
- Image
- Bio
- Experience
- Salary
- Languages
- Country
- Education (option for add multiple)
- Title
- Start date
- End Date
- CGPA
- University
- Roll number
Education field will be used for multiple entries like one employee can have multiple degrees and should fill the details for those degrees, so another table will be created for Education field and link both tables with 1:n relation like one employee will have multiple educations/degrees.
Let’s start to create a custom table with TYPO3.
TYPO3 provides an option to define tables in the ext_tables.sql file.