AbolfaZlRezaEe / NMock

NMock is an application that you can use to mock your trips with fake locations. This application uses Google Map SDK and Neshan API for Map and location information.
22 stars 6 forks source link

Fix wrong update functionality in mock section #36

Open AbolfaZlRezaEe opened 2 years ago

AbolfaZlRezaEe commented 2 years ago

What's the problem or feature?

We have a problem on updating mock positions now. in normal-position and imported-position. when we want to update the mock position list on the database, we remove the oldest one and insert the new one in the database. that is wrong because the id grows up unnecessarily.

For the solution we want to

Fix relation functionality of position entities in the database at first, and fix update functionalities in the second.

Works we should do during this task