тяжело...

This commit is contained in:
анна 2024-05-30 22:43:37 +04:00
parent 1380e5d3cf
commit c02fbb98de
4 changed files with 4 additions and 3 deletions

View File

@ -12,7 +12,7 @@ using UniversityDatabaseImplement;
namespace UniversityDatabaseImplement.Migrations
{
[DbContext(typeof(UniversityDB))]
[Migration("20240530182928_InitialCreate")]
[Migration("20240530184250_InitialCreate")]
partial class InitialCreate
{
protected override void BuildTargetModel(ModelBuilder modelBuilder)

View File

@ -14,9 +14,9 @@ namespace UniversityDatabaseImplement
optionsBuilder.UseNpgsql(@"
Host=localhost;
Port=5432;
Database=UniversityFullNew;
Database=UniversityFull;
Username=postgres;
Password=55256636a;");
Password=postgres;");
}
base.OnConfiguring(optionsBuilder);
}

View File

@ -12,6 +12,7 @@
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>
</PackageReference>
<PackageReference Include="Microsoft.EntityFrameworkCore.SqlServer" Version="6.0.0" />
<PackageReference Include="Microsoft.EntityFrameworkCore.Tools" Version="6.0.0">
<PrivateAssets>all</PrivateAssets>
<IncludeAssets>runtime; build; native; contentfiles; analyzers; buildtransitive</IncludeAssets>