Share feedback, ideas and get community help

Updated 9 months ago

Prisma Schema

At a glance

The community member who posted the original question is curious to know why Typebot stores groups in JSON in raw format instead of using a structured approach with multiple database tables (e.g., Groups = Group[], Group = Block[]). They wonder if this is for performance purposes.

In the comments, another community member suggests that the separate storage of edges from groups in JSON is likely for convenience, and they don't see the need for groups and blocks to be separated into their own tables, as they believe it would just add unnecessary complexity.

Another community member notes that the edge schema has nothing to do with the group, implying that the separate storage of edges is not related to the group structure.

There is no explicitly marked answer in the provided information.

Hello πŸ™‚

I am curious to know why Typebot store groups in Json in raw instead of a structure using multiple db tables :
  • Groups = Group[]
  • Group = Block[]
and so on...

Is it for performance purpose ?
C
B
3 comments
And why separate edges from groups Json ?
For convenience purpose I would say! I don't see the point of having groups and blocks separated in their own tables. It just adds useless complexity
Look at the edge schema, it has nothing to do with group
Add a reply
Sign up and join the conversation on Discord