diff --git a/SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230407111626_InitCreate.Designer.cs b/SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230411053626_CreateDB.Designer.cs similarity index 99% rename from SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230407111626_InitCreate.Designer.cs rename to SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230411053626_CreateDB.Designer.cs index 1321445..5f5930e 100644 --- a/SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230407111626_InitCreate.Designer.cs +++ b/SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230411053626_CreateDB.Designer.cs @@ -12,8 +12,8 @@ using SoftwareInstallationDataBaseImplement; namespace SoftwareInstallationDataBaseImplement.Migrations { [DbContext(typeof(SoftwareInstallationDataBase))] - [Migration("20230407111626_InitCreate")] - partial class InitCreate + [Migration("20230411053626_CreateDB")] + partial class CreateDB { /// protected override void BuildTargetModel(ModelBuilder modelBuilder) diff --git a/SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230407111626_InitCreate.cs b/SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230411053626_CreateDB.cs similarity index 99% rename from SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230407111626_InitCreate.cs rename to SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230411053626_CreateDB.cs index 2c4bc78..e5dc6c3 100644 --- a/SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230407111626_InitCreate.cs +++ b/SoftwareInstallation/SoftwareInstallationDataBaseImplement/Migrations/20230411053626_CreateDB.cs @@ -6,7 +6,7 @@ using Microsoft.EntityFrameworkCore.Migrations; namespace SoftwareInstallationDataBaseImplement.Migrations { /// - public partial class InitCreate : Migration + public partial class CreateDB : Migration { /// protected override void Up(MigrationBuilder migrationBuilder) diff --git a/SoftwareInstallation/SoftwareInstallationDataBaseImplement/SoftwareInstallationDataBase.cs b/SoftwareInstallation/SoftwareInstallationDataBaseImplement/SoftwareInstallationDataBase.cs index ebc861c..f69175b 100644 --- a/SoftwareInstallation/SoftwareInstallationDataBaseImplement/SoftwareInstallationDataBase.cs +++ b/SoftwareInstallation/SoftwareInstallationDataBaseImplement/SoftwareInstallationDataBase.cs @@ -9,7 +9,7 @@ namespace SoftwareInstallationDataBaseImplement { if (optionsBuilder.IsConfigured == false) { - optionsBuilder.UseSqlServer(@"Data Source=DESKTOP-VG5USAH\SQLEXPRESS;Initial Catalog=SoftwareInstallationDataBaseHardFull;Integrated Security=True;MultipleActiveResultSets=True;;TrustServerCertificate=True"); + optionsBuilder.UseSqlServer(@"Data Source=COMP-AVZH\SQLEXPRESS;Initial Catalog=SoftwareInstallationDataBaseHardFull;Integrated Security=True;MultipleActiveResultSets=True;;TrustServerCertificate=True"); } base.OnConfiguring(optionsBuilder); }