Basically, a number of people felt this was 'reinventing the wheel'.  I've 
got a similar project using fluent migrator up on my github 
<https://github.com/jeffreyabecker/FluentMigrator.NHibernate/commits/master>. 
A lot of work remains in that repo.  Basically the migration generator 
works by looking at two Configuration instances and generating 
FluentMigrator objects off that.   My big-picture todo currently consists 
of:

Figure out configuration snapshot storage.  Basically we need to serialize 
a snapshot of the configuration for differential migrations. EF puts this 
information in the version table in the DB.  FluentMigrator doesnt 
currently have the extensiblity to do that. However I'm not even sure this 
is a good idea.

Write a full differential Migration generator.  Right now the generator 
only produces full-create migrations.

Work out tooling. None of this is particularly useful without some tooling. 
 Making a unit test to generate your migration feels not-right.  This 
brings up the question of how to get an instance of the Configuration. 
 Personally, I just inherit configuration and encapsulate my setup in the 
constructor of that class.  But that is certainly not how the docs describe 
the process so I imagine it unusual.  

Further discussion and pull requests are welcome!

On Thursday, January 21, 2016 at 10:25:34 AM UTC-5, Stuart Duncan wrote:
>
> Hi, I know this an old thread now, but has there been any progress on 
> these features?
>
> Thanks,
>
> Stuart
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"nhibernate-development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to nhibernate-development+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to