lenra-io/lenra_cli

[EPIC] Adapt Troy to use Mongo database

Aperta

#62 aperta il 14 set 2022

 (1 commento) (0 reazioni) (1 assegnatario)Rust (2 fork)auto 404
Epichacktoberfest

Metriche repository

Star
 (16 stelle)
Metriche merge PR
 (Metriche PR in attesa)

Descrizione

With the migration of data management, from postgres to mongoDB, we have some changes to make in Troy to be compatible.

Here are the main changes:

  • Change of api routes
  • The "Datastore" doesn't need to be created anymore, it's now a mongo collection created automatically at document creation.
  • DataReference has been removed because mongo does not have a reference between documents, we have to store the document id in another document.

Troy

https://github.com/lenra-io/app-troy

Guida contributor