Replies: 4 comments 2 replies
-
Technically I am in favour of getting the database sorted out, it is one of the things that hurt my eyes, so to speak. But I would also consider it another scope creep which will postpone this large PR once again, making it even more complex. So: yes we should do it. But NOT with this PR. Better to have a focused task for improving the structure/constraints/cascade update & delete etc. as this will undoubtedly unveil all kinds of issues. |
Beta Was this translation helpful? Give feedback.
-
As to the mentioned issue #1114, see comment: #1114 (comment) |
Beta Was this translation helpful? Give feedback.
-
Just to mention another DB inconsistency: In the current production foodsoft, whenever an Solution might be to either a) remove the affected articles or to b) populate I guess, even though the last affected records I could find were from 2017, I guess b) would still be the best option to not cause more inconsistencies. What do you think? |
Beta Was this translation helpful? Give feedback.
-
No, not really - that's why I'm asking. We'd have to test that through, unless someone already has experience with that type of inconsistency...?
No - nothing current. I tried to introduce such a cleanup with said PR, but that wasn't merged and didn't address this specific issue either. |
Beta Was this translation helpful? Give feedback.
-
The current foodsoft DB has multiple db inconsistencies (broken foreign keys mainly).
I've made an attempt to address the issue by adding foreign key constraints, however this PR is now long since deprecated. (We've never gotten around to merging it.)
However, in the light of the extend article units PR and of the issue found by RayOei we might think about having another go at this before merging the PR. (This would of course be quite some effort as the PR would then need to update and extend those constraints)
Any thoughts?
Beta Was this translation helpful? Give feedback.
All reactions