From 7a835c5c95fc4626486231bd47287244301c34fd Mon Sep 17 00:00:00 2001 From: Paul Schneider Date: Sun, 29 Aug 2021 22:27:12 +0100 Subject: [PATCH] Fixes the versionCommit migration --- src/isnd/Migrations/20210828142245_versionCommit.cs | 5 ++++- src/isnd/Views/Shared/_Layout.cshtml | 2 +- src/isnd/Views/Shared/_Nav.cshtml | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/src/isnd/Migrations/20210828142245_versionCommit.cs b/src/isnd/Migrations/20210828142245_versionCommit.cs index 97dc46e..53d3986 100644 --- a/src/isnd/Migrations/20210828142245_versionCommit.cs +++ b/src/isnd/Migrations/20210828142245_versionCommit.cs @@ -42,9 +42,12 @@ namespace isndhost.Migrations }); migrationBuilder.Sql( - @"delete from 'PackageVersions'; delete from 'Packages';" + @"delete from ""PackageVersions""" ); + migrationBuilder.Sql( + @"delete from ""Packages"";" + ); migrationBuilder.CreateIndex( name: "IX_Packages_CommitNId", diff --git a/src/isnd/Views/Shared/_Layout.cshtml b/src/isnd/Views/Shared/_Layout.cshtml index 9c2d2b3..a3a3e0d 100644 --- a/src/isnd/Views/Shared/_Layout.cshtml +++ b/src/isnd/Views/Shared/_Layout.cshtml @@ -3,7 +3,7 @@ - @ViewData["Title"] - nuget host + @ViewData["Title"] - isnd diff --git a/src/isnd/Views/Shared/_Nav.cshtml b/src/isnd/Views/Shared/_Nav.cshtml index 83ed47e..db807f5 100644 --- a/src/isnd/Views/Shared/_Nav.cshtml +++ b/src/isnd/Views/Shared/_Nav.cshtml @@ -12,7 +12,7 @@ - Nuget host + Isn @if (!string.IsNullOrWhiteSpace(name))