Closed goellner closed 1 year ago
You could fork this package and make changes to support it, but that’s not the goal of this particular driver. We wanted something “one-size-fits-most”, instead of “every-site-needs-extra-config”.
If you want relationships and seperate tables then I would suggest using Duncan's runway add-on: https://runway.duncanmcclean.com
Is there any way to split entries in the db into different tables? currently they are all stored in the entries table and it makes it super hard to write a migration from another cms/stack.
example:
old project: two db tables:
recipes
andingredients
recipe tables has a pivot table
ingredient_recipe
where i store multiple ingredients per recipe.I would set
recipes
andingredients
up as statamic collections, then link to multiple ingredients on the recipe entryI have to write a huge mapping file, since i can't have a recipe with id
1
and an ingredient with ingredient1
, but thats what the old stack used.do yo think it makes sense to split the entries table into multiple tables. so every collection has its own table in the db? e.g.
collection_recipes
andcollection_ingredients