Merge pull request #1429 from sbwalker/dev

fix EF Core version value in upgrade scripts
This commit is contained in:
Shaun Walker
2021-06-01 10:27:30 -04:00
committed by GitHub
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;
}