Georg Ragaller wrote:
Rickard Öberg wrote:
Georg Ragaller wrote:
Would'nt it be better to specify the migration rules as diffs (or better patches) from one version to its direct successor, plus the version history, and let the migrator service determine which patches to apply in the correct order?

Yes, that is what I had in mind, but I realize that "onVersion" doesn't show that. It should be "toVersion", and then it should work exactly as you say.

Good, but should'nt it be something like "betweenVersions("predecessor","successor"), i.e. one edge in the history?

Why? If I have 1.1 then 1.2 and then 1.3, but a schema change only occured in 1.4, why would I have to specify the start point instead of just saying "in 1.4 this change happened". What help would the predecessor info give you?

/Rickard


_______________________________________________
qi4j-dev mailing list
[email protected]
http://lists.ops4j.org/mailman/listinfo/qi4j-dev

Reply via email to