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

change from content/home to content/uuid and set uuid in torchbear.toml #79

Open
naturallymitchell opened this issue Nov 22, 2018 · 3 comments

Comments

@naturallymitchell
Copy link
Member

change from content/home to content/uuid and set uuid in torchbear.toml

we could also have a db of friends to that home content store
friend model with uuid to be used as document id of friend and of content store

@naturallymitchell naturallymitchell changed the title multiple home content stores change from content/home to content/uuid and set uuid in torchbear.toml Nov 30, 2018
@Arnaz87
Copy link
Collaborator

Arnaz87 commented Nov 30, 2018

Use the field home_store in torchbear.toml, if none exists, generate a uuid and append it to the file.

This is a brittle solution because depending on how the toml is written, it can end up in a wrong toml table, but gotta be enough for now.

@Arnaz87
Copy link
Collaborator

Arnaz87 commented Nov 30, 2018

For friends, profiles have an optional friend boolean field, rather than storing the list in a separate db

@naturallymitchell
Copy link
Member Author

waiting on jazzdotdev/jazz-libs#7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants