mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-11-24 18:36:58 +00:00
data model, erd
1 parent
ddc08fdff7
commit
c50ab402ae
1 file changed
+7
-1
+7
-1
@@ -37,6 +37,12 @@ Folders should appear before any brew in the user page
|
||||
|
||||
A URI/link should be `/user/:userId/:folderName`
|
||||
|
||||
|
||||
### Data Model
|
||||
|
||||
Folders exist as entities in their own table/collection.
|
||||
|
||||
Multiple brews can be assigned to a folder by listing the `brew.shareID` in the folder entity. (This is distinct and different from a model where the association is achieved via an attribute on the brew entity).
|
||||
|
||||
### Data structure
|
||||
- `__Id` (mongo specific ID field, exists wether we create it or not)
|
||||
@@ -47,7 +53,7 @@ A URI/link should be `/user/:userId/:folderName`
|
||||
- `createdAt`
|
||||
- `UpdatedAt`
|
||||
|
||||
|
||||
https://gitter.ems.host/_matrix/media/v3/download/gitter.im/d336df8b6302961385db01f93e95f301c6cde3aa
|
||||
|
||||
|
||||
|
||||
|
||||
Reference in new issue
Block a user