Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Extend Governor APIs] User Extension Resources Schema #82

Conversation

bailinhe
Copy link
Contributor

erDiagram
  extension {
    uuid id
    string url
    string name
    string slug
    string description
    bool enabled
    enum status "offline, online"
  }

  extension_resource_definition {
    uuid id
    string name
    string slug_singular
    string slug_plural
    enum scope "system or user"

    bool enabled
    string version
    jsonb schema "JSON schema"
  }

  user_extension_resource {
    uuid id
    jsonb resource
  }

  system_extension_resource {
    uuid id
    jsonb resource
  }

  extension ||--o{ extension_resource_definition: has

  user ||--o{ user_extension_resource: has
  extension_resource_definition ||--o{ user_extension_resource: validates

  extension_resource_definition ||--o{ system_extension_resource: validates
Loading

@bailinhe bailinhe marked this pull request as ready for review October 13, 2023 17:45
@bailinhe bailinhe requested a review from a team as a code owner October 13, 2023 17:45
@bailinhe bailinhe force-pushed the extend-governor-apis/user-extension-resources-schema branch from 3c85a2e to bd7b7cd Compare October 18, 2023 16:58
@bailinhe bailinhe merged commit b961a23 into metal-toolbox:main Oct 20, 2023
@bailinhe bailinhe deleted the extend-governor-apis/user-extension-resources-schema branch October 20, 2023 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants