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);