As a stopgap until the hero filesystem is ready, we are thinking to add a simple document model to the heromodels.
It can possibly be as simple as:
pub struct Document {
db.Base
pub mut:
name string
contents string
}
Or if there are concerns about max size on one string entry:
pub struct Document {
db.Base
pub mut:
name string
contents []u32 // list of DocumentContents ids
}
pub struct DocumentContents {
db.Base
pub mut:
contents string
}
As a stopgap until the hero filesystem is ready, we are thinking to add a simple document model to the heromodels.
It can possibly be as simple as:
Or if there are concerns about max size on one string entry: