Database

You have to extend your appartment table with with some fields.

Copy and paste the code

Copy the code of the ext_tables.sql from the sample directory and paste it into the ext_tables.sql of your extension.

This will extend your table with the needed fields in the database.

Rename the table

Rename the tx_apartmentrent table to the name of your table.