brunomlopes/dbdeploy.net — pull request #9 by tbrisco (2014-12-16 14:14:09+00:00)
Title: Develop

Hi Bruno,

I forked your 2.2.0.0 branch. It kept throwing errors while attempting to deploy to mysql directly. I am working in version 5.6.21 of MySql. The functional change I made was in mysql_apply.vm. The GetDate() syntax doesn't exist in 5.6.21 - it wanted current_timestamp(). I also upgraded NAnt since my CI server uses 0.92, but I didn't make any changes to your code that require it. There are more modified files than this since your repo has mixed line breaks. I converted as many as I could do automatically to UNIX line feeds and committed those.

Although the code builds, it doesn't run successfully on all machines. The reason for this is that it relies on a bunch of assemblies that you must have installed in your GAC. I believe it is a better practice to distribute them directly. If you don't want to do that, I suggest at least documenting the required assemblies (this is another reason that I upgraded NAnt).

I found your project because I was looking for a way to automate mysql deployment so your code is VERY useful. It was disappointing to me that the examples were all MSSQL based. Your introduction also talks about how the code can be called through msbuild and nant, yet doesn't provide a clear example.

Regards,
Tony