Правка в имени бд

This commit is contained in:
Леонид Малафеев 2024-04-28 12:39:11 +04:00
parent 6f95297544
commit a851373a8b

View File

@ -13,7 +13,7 @@ namespace CarCenterDatabaseImplement
{
if (optionsBuilder.IsConfigured == false)
{
optionsBuilder.UseNpgsql(@"Host=localhost;Database=ComputersShop_db;Username=postgres;Password=postgres");
optionsBuilder.UseNpgsql(@"Host=localhost;Database=CarCenterDatabaseFull;Username=postgres;Password=postgres");
}
base.OnConfiguring(optionsBuilder);
AppContext.SetSwitch("Npgsql.EnableLegacyTimestampBehavior", true);