From bed5f4e6b42261b8e05ecca8280eca2c74e98fc2 Mon Sep 17 00:00:00 2001 From: Olga Nemt Date: Thu, 2 Nov 2023 10:53:14 +0500 Subject: [PATCH] =?UTF-8?q?=D0=A4=D0=B8=D0=BA=D1=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...45600_Add_Or_Update_Data_In_CompanyType.cs | 36 +++++++++---------- 1 file changed, 18 insertions(+), 18 deletions(-) diff --git a/AsbCloudDb/Migrations/20231102045600_Add_Or_Update_Data_In_CompanyType.cs b/AsbCloudDb/Migrations/20231102045600_Add_Or_Update_Data_In_CompanyType.cs index b1519663..45cd4795 100644 --- a/AsbCloudDb/Migrations/20231102045600_Add_Or_Update_Data_In_CompanyType.cs +++ b/AsbCloudDb/Migrations/20231102045600_Add_Or_Update_Data_In_CompanyType.cs @@ -8,26 +8,26 @@ namespace AsbCloudDb.Migrations { protected override void Up(MigrationBuilder migrationBuilder) { - //migrationBuilder.UpdateData( - // table: "t_company_type", - // keyColumn: "id", - // keyValue: 1, - // columns: new[] { "caption", "order" }, - // values: new object[] { "Недропользователь", 3 }); + migrationBuilder.UpdateData( + table: "t_company_type", + keyColumn: "id", + keyValue: 1, + columns: new[] { "caption", "order" }, + values: new object[] { "Недропользователь", 3 }); - //migrationBuilder.UpdateData( - // table: "t_company_type", - // keyColumn: "id", - // keyValue: 2, - // columns: new[] { "is_contact", "order" }, - // values: new object[] { true, 2 }); + migrationBuilder.UpdateData( + table: "t_company_type", + keyColumn: "id", + keyValue: 2, + columns: new[] { "is_contact", "order" }, + values: new object[] { true, 2 }); - //migrationBuilder.UpdateData( - // table: "t_company_type", - // keyColumn: "id", - // keyValue: 3, - // columns: new[] { "is_contact", "order" }, - // values: new object[] { true, 0 }); + migrationBuilder.UpdateData( + table: "t_company_type", + keyColumn: "id", + keyValue: 3, + columns: new[] { "is_contact", "order" }, + values: new object[] { true, 0 }); migrationBuilder.Sql(@"INSERT INTO public.t_company_type (id, caption, is_contact, ""order"") " + @"VALUES (4, 'Сервис по ГТИ', true, 6) " +