AlexTelon / FlexiCharge-Backend

6 stars 11 forks source link

Implemented our own auto-increment for chargerIDs #61

Closed HugoMartinsson closed 2 years ago

HugoMartinsson commented 2 years ago

When adding a charger, the DAL will find the biggest ID present in the charger-table, and add the charger with that ID + 1. If there aren´t any ID:s in the database or the biggest ID is smaller then 100000 the charger will be added with ID 100000.