I am trying to make a Ledger app in which there would one base table which would contain the name, phone number etc and a table containing all list of transaction corresponding to a particular person. Now I don't know how many persons I would add so tables need to be created during run time. But how should I do that?
I even tried a second where I would keep the tranctionId column as a foreign key in the base table and use it as a primary key in another table where all transaction would be stored in a mutableListOf<>() but it showing an error that use type convertors.
Please tell how should proceed or if there is some other way for such cases.