[
https://issues.apache.org/jira/browse/JAMES-3127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17070807#comment-17070807
]
Matthieu Baechler commented on JAMES-3127:
------------------------------------------
> Then how do you know the number associated with each migration, and enforce
> there is no conflicts?
You have a SchemaVersion for each module (one for mailbox, one for data)
> Also, if you attach migration tasks to the Module, then the dependency part
> of it might be complicated IMO
I don't see why
> Cassandra migrations should not depend on Guice
> -----------------------------------------------
>
> Key: JAMES-3127
> URL: https://issues.apache.org/jira/browse/JAMES-3127
> Project: James Server
> Issue Type: Improvement
> Components: cassandra, guice
> Reporter: Matthieu Baechler
> Priority: Major
>
> For now, Cassandra migrations are associated to schema versions in a guice
> module, preventing the reuse of the versions in other parts of the code.
> We don't really need guice to build a Map so we should move this code in the
> non-guice module and stop duplicating schema version information in the
> codebase.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]