[ 
https://issues.apache.org/jira/browse/JAMES-3127?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17070805#comment-17070805
 ] 

Benoit Tellier commented on JAMES-3127:
---------------------------------------

Then how do you know the number associated with each migration, and enforce 
there is no conflicts?

Also, if you attach migration tasks to the Module, then the dependency part of 
it might be complicated IMO

> 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: server-dev-unsubscr...@james.apache.org
For additional commands, e-mail: server-dev-h...@james.apache.org

Reply via email to