apply migration

This commit is contained in:
ShabOl 2024-04-02 23:29:59 +04:00
parent 4ac87a10ed
commit 054222a8d4
2 changed files with 3 additions and 3 deletions

View File

@ -9,7 +9,7 @@ namespace AutoWorkshopDatabaseImplement
{
if (OptionsBuilder.IsConfigured == false)
{
OptionsBuilder.UseNpgsql(@"Host=localhost;Database=AutoWorkshop;Username=postgres;Password=postgres");
OptionsBuilder.UseNpgsql(@"Host=localhost;Database=AutoWorkshop;Username=postgres;Password=admin");
}
base.OnConfiguring(OptionsBuilder);

View File

@ -12,8 +12,8 @@ namespace AutoWorkshopDatabaseImplement.Models
[Required]
public int RepairId { get; private set; }
public virtual Repair Repair { get; set; } = new();
public virtual Repair Repair { get; set; }
[Required]
public int Count { get; private set; }