forked from ddrilling/AsbCloudServer
Миграция: правка данных в БД (категорий для well_operations)
This commit is contained in:
parent
b8b55c334a
commit
36c6ffb0e4
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