fix EF Core version value in upgrade scripts

This commit is contained in:
Shaun Walker
2021-06-01 10:31:16 -04:00
parent b76e8498d7
commit c91b8e72c0
3 changed files with 3 additions and 3 deletions

View File

@ -43,7 +43,7 @@ namespace Oqtane.Migrations.Framework
{
var query = "IF NOT EXISTS(SELECT 1 FROM __EFMigrationsHistory WHERE MigrationId = '" + MigrationId + "') ";
query += "INSERT INTO __EFMigrationsHistory(MigrationId, ProductVersion, AppliedDate, AppliedVersion) ";
query += "VALUES('" + MigrationId + "', '5.0.0', SYSDATETIME(), '" + Constants.Version + "')";
query += "VALUES('" + MigrationId + "', '5.0.4', SYSDATETIME(), '" + Constants.Version + "')";
return query;
}