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) " +