forked from ddrilling/AsbCloudServer
Merge pull request 'Миграция: правка данных в БД (категорий для well_operations)' (#189) from fix/update-well-operation-categories-migration into dev
Reviewed-on: http://test.digitaldrilling.ru:8080/DDrilling/AsbCloudServer/pulls/189
This commit is contained in:
commit
0371e6683c
9115
AsbCloudDb/Migrations/20231226070850_Update_Table_WellOperation_set_Categories.Designer.cs
generated
Normal file
9115
AsbCloudDb/Migrations/20231226070850_Update_Table_WellOperation_set_Categories.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,21 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace AsbCloudDb.Migrations
|
||||
{
|
||||
public partial class Update_Table_WellOperation_set_Categories : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.Sql
|
||||
(@"UPDATE public.t_well_operation SET id_category=5010 WHERE id_category=4004; " +
|
||||
@"UPDATE public.t_well_operation SET id_category=5019 WHERE id_category=4007; ");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Reference in New Issue
Block a user