Closed
Description
We currently have two types of schema:
- page schema - each entry is attached to a different page (primary key: page)
- lookup schema - each entry is attached to no page (primary key: autoincrement)
I suggest having a third type that works like the lookup schema but where each entry is attached to exactly the same page - the one where the ---- struct lookup ----
syntax is used (primary key: page + autoincrement)
This would allow to reuse the schema on many different pages, giving you a new table for each of these pages. An example could be a schema offers(task, effort, price)
. Then I could add an offer table to each wiki page I need to describe the parts of an offer.
I'm not so sure about the implications of having this in how it would integrate with aggregations and lookup types etc. Eg. I'm not sure how much benefit this would give from a structural point of view.