Skip to content

Implement database support for data that should be persisted #66

Description

@FoxxMD

Currently all data generated by CM is either in memory only or stored in the configured cache.

For the majority of data this is fine but there are now a few data structures that really should be persistent but are still stored in cache, only due to the convenience of using that data storage mechanism at the time i was developing it. Data that really should be persistent:

Main goals for database support are:

  • Support multiple database types via config, interface should be agnostic (should use typeorm for this)
  • avoid dependencies on db binaries (I'm looking at you sqlite, use sql.js instead)
  • (optional) db access should be async

Metadata

Metadata

Assignees

Labels

enhancementNew feature or request

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions