I am running on the following problem:
I have some entity/table classes defined. I made the overall structure using the "DBConnection" class as example.
When starting the app for the first time I go for creating the database (sqlite).
However when TDatabaseManager.BuildDatabase is executed it causes an exception ESQLiteException table dominio already exist
Debuging TDatabaseManager.ExecuteSQLStatements I see there is a list of the SQL create tables, all my tables are there, however there is one duplicate. The first table is duplicated at the end. (2 creates)
The tables created are correct, everything fine. However only this exception.
What am I doing wrong to cause this?