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 合并指标
 (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

贡献者指南