From 355211db44e37a31a7499b32bd74db763bb3eec9 Mon Sep 17 00:00:00 2001 From: Mike Schenk Date: Fri, 28 Apr 2017 09:07:57 -0600 Subject: [PATCH] Fixed SQL Syntax error --- dotMigrator.SqlServer/SingleTableJournal.cs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dotMigrator.SqlServer/SingleTableJournal.cs b/dotMigrator.SqlServer/SingleTableJournal.cs index f823fe8..1c362db 100644 --- a/dotMigrator.SqlServer/SingleTableJournal.cs +++ b/dotMigrator.SqlServer/SingleTableJournal.cs @@ -88,8 +88,8 @@ public void Open() _setCompleteCommand = _connection.CreateCommand(); _setCompleteCommand.CommandType = CommandType.Text; _setCompleteCommand.CommandText = - "UPDATE _DeployedScripts " + - " Complete = 1 " + + "UPDATE _DeployedScripts SET" + + " Complete = 1, " + " CompletedTs = @CompletedTs " + "WHERE Name = @Name"; _setCompleteCommand.Parameters.Add("@Name", SqlDbType.NVarChar, 260);