distributeaid / toolbox

DistributeAid Toolbox
http://distributeaid.org
GNU Affero General Public License v3.0
3 stars 1 forks source link

Use UUIDs #24

Open pedro-gutierrez opened 4 years ago

pedro-gutierrez commented 4 years ago

Is your feature request related to a problem? Please describe.

At the moment, primary keys in the database are generated by Postgres as integers and auto incremented. This has the following disadvantages:

Describe the solution you'd like

As a software developer I want to manage data with deterministic uuids So that we can have a more resilient, interoperable backend with support for offline operations

Cost of not doing We would be missing the following advantages:

How we may solve this From a technical point of view, this would involve:

Since this is a potentially big feature, we could approach this by contexts:

Additional context