[ADD] Migration scripts for the project addon

When write type == 'sql' the values passed to logged_query should actually remain empty, the query has already been mogrified.

I suggest you actually also use the cr.mogrify("""UPDATE ...""", values) function after first filling in the table/target/source (but replace the %%(new)s with regular %%s or something ?)