Create layout config table in user database #277
Labels
No labels
_CRITICAL_
API
app
backEnd
Blocked, waiting for further changes
bug
cleanup
close
design
duplicate
enhancement
feature request
frontEnd
help wanted
invalid
low priority
needs input
needs review
project documentation
question
research
reviewed
script
security
SQL
style
testing
topLevel
wontfix
No milestone
No project
No assignees
2 participants
Notifications
Due date
No due date set.
Blocks
#273 Create service to enable connection to database
Andras/BoundlessFlowCampus2K
Reference
Andras/BoundlessFlowCampus2K#277
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Since we decided to store layout as raw JSON we need to do some research on how do that.
Create Config table in user databaseto Create layout config table in user databaseresearcher on to use json or jsonb .
Conclusion
At first glance, jsonb seems to be the obvious choice. More features and more efficient storage. The problem is that the structure of the json file can be changed. Since we are only interested in storing and retrieving the file, not changing it in the database's json format, it was considered a better choice.
Sorry misclicked
What we want to store is layout-JSON, name and layout order number (it is possible for a user to have multiple layouts and the order number should reflect reflect the ordering of layouts (duh)). It should also have an ID and a foreign key to the User.
The tabel has been implemented and merged in #535