mirror of
https://github.com/naturalcrit/homebrewery.git
synced 2026-03-22 08:58:11 +00:00
data model, erd
@@ -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