Assume the following flat models structure (models folder content):
For clarity purpose, I would like to "classify" those models files into subfolders to get the following:
I tried to create two folders into the genuine "models" one and adapted the package import accordingly i.e. package models.general;
for instance. I then ran the project, the database is created properly (the tables are generated) but I'm unable to save anything. Is there something I missed ?
I don't know if that solves the problem, but from what you describe, the correct packages would be models.general
and models.vehicules
.