Could I use migrator.net bare migration framework and just have a set of SQL files to do the upgrade/downgrade? i.e. just use the framework to check database version and which scripts to run etc?
thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
Yes. I have a mixture of sql and code migrations. My migration which uses sql files looks something like:
Where I have two files ‘createbaredb.sql’ and ‘dropbaredb.sql’ in a directory (SqlScripts) and set as ‘Embedded Resource’ in the file property pane.