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] System Extension Resources Schema #73

Conversation

bailinhe
Copy link
Contributor

@bailinhe bailinhe commented Oct 4, 2023

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 force-pushed the extend-governor-apis/system-extension-resources-schema branch from e9101bc to 3648a93 Compare October 13, 2023 15:53
@bailinhe bailinhe marked this pull request as ready for review October 13, 2023 16:01
@bailinhe bailinhe requested a review from a team as a code owner October 13, 2023 16:01
@bailinhe bailinhe merged commit c8c0419 into metal-toolbox:main Oct 13, 2023
@bailinhe bailinhe deleted the extend-governor-apis/system-extension-resources-schema branch October 13, 2023 16:14
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.

2 participants