Fix migrate.sql.tmpl