fix
This commit is contained in:
parent
9e67911aff
commit
05501e2170
@ -14,7 +14,7 @@ namespace CarpentryWorkshopDatabaseImplement
|
||||
{
|
||||
if (optionsBuilder.IsConfigured == false)
|
||||
{
|
||||
optionsBuilder.UseNpgsql(@"Host=localhost;Port=5432;Database=CarpentryWorkshopDatabaseLab51;Username=postgres;Password=postgres");
|
||||
optionsBuilder.UseNpgsql(@"Host=localhost;Port=5432;Database=CarpentryWorkshopDatabaseLab6;Username=postgres;Password=postgres");
|
||||
}
|
||||
base.OnConfiguring(optionsBuilder);
|
||||
}
|
||||
|
@ -12,7 +12,7 @@ using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
|
||||
namespace CarpentryWorkshopDatabaseImplement.Migrations
|
||||
{
|
||||
[DbContext(typeof(CarpentryWorkshopDatabase))]
|
||||
[Migration("20240427190111_InitialCreate")]
|
||||
[Migration("20240430082941_InitialCreate")]
|
||||
partial class InitialCreate
|
||||
{
|
||||
/// <inheritdoc />
|
@ -43,7 +43,8 @@ namespace CarpentryWorkshopView
|
||||
{
|
||||
dataGridView.DataSource = list;
|
||||
dataGridView.Columns[1].Visible = false;
|
||||
|
||||
dataGridView.Columns[2].Visible = false;
|
||||
dataGridView.Columns[3].Visible = false;
|
||||
}
|
||||
_logger.LogInformation("Загрузка продуктов");
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user