Skip to content

[Feature] Support Mysql and Postgres as Store by GORM #1335

@robocanic

Description

@robocanic

What would you like to be added:
Use gorm to implement Store. Key targets:

  1. Support CURD operations of all resource defined in api.
  2. Support Mysql and Postgres as backend databases.

Why is this needed:
The Memory type of store has been implemented in #1332, but memory is not reliable in many conditions. In order to make it more reliable in the production environment, we need to provide persistent store for Resource. MySQL and PostgreSQL are widely used as relational database, and gorm can easily support CURD operations on top of the databases.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions