lenra-io/lenra_cli

[EPIC] Adapt Troy to use Mongo database

開放

#62 建立於 2022年9月14日

 (1 則留言) (0 個反應) (1 位負責人)Rust (2 個分叉)auto 404
Epichacktoberfest

倉庫指標

星標
 (16 顆星)
PR 合併指標
 (30 天內沒有已合併 PR)

描述

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

貢獻者指南