Wednesday, 15 June 2011

fluent migrator - How do I determine why a new class isn't running -


Background: VS 2012

We have divided the table migration into different sections, so we have

class 1,

  [migration (1306122)] Class M1306122CreateTableX: Migration {...} Class 2,  
  [Migration (1306123)] Class M 1306123 Cutable: Migration {...}   

etc. Twice I have created a new class, increasing the migration number (which seems to be a completely valid code) The process of migrating does not just run the new class, there is no error or nothing. It has not yet happened.

Right now we are using a batch file to run Migrate.

  migrate.exe ^ / connection "server = (local) \ SQLEXPRESS; database =% 2_aggregated; integrated security = true" ^ / db SqlServer2012 ^ / target% 1 ^ / namespace databaseBrowsing.Agated ^ / Nested   

There is no way of debug to find out why new classes are not being included?

Your migration needs public classes.

No comments:

Post a Comment