Sean
Sent from my Windows Phone From: Mark Boltuc
Sent: Friday, April 08, 2011 10:01 AM
To: FluentMigrator Google Group
Subject: Crazy idea for handling stored procedures, views, etc in sql
scripts
Hey everyone,
Alter.StoredProcedure().FromHg().Where().FileName("spCreateUser.sql").Revision(181);
}
Alter.StoredProcedure().FromHg().Where().FileName("spCreateUser.sql").Revision(180);
}
Thoughts?
Thanks,
Mark
--
You received this message because you are subscribed to the Google
Groups "FluentMigrator Google Group" group.
To post to this group, send email to
fluentmigrato...@googlegroups.com.
To unsubscribe from this group, send email to
fluentmigrator-goog...@googlegroups.com.
For more options, visit this group at
http://groups.google.com/group/fluentmigrator-google-group?hl=en.
Yep, that was the essence of what I was saying. Should it not be possible to have say a folder in source control called Sqlserver2008 and one call mysql and have FM choose the correct file based on the provider?
I think that you are miss understanding the point that I am making.
I am not suggesting that FM should convert scripts, in fact I even said it was a bad idea in my original email.
What I am saying that if a team creates a migration script for MySql and then a version of the same script for SQL Server. So that is two scripts targeted at two different database that achieve the same result, that it should be possible for FM to choose NOT convert the correct script for the provider!
