Skip to content

Commit

Permalink
adjust migration down to remove obsolete data
Browse files Browse the repository at this point in the history
  • Loading branch information
ntruchsess committed Sep 24, 2024
1 parent 93b3ac8 commit 45832fa
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,8 @@ protected override void Up(MigrationBuilder migrationBuilder)
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql("DELETE from portal.process_steps WHERE process_step_type_id IN (33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43)");

migrationBuilder.DeleteData(
schema: "portal",
table: "process_step_types",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -18,13 +18,10 @@
********************************************************************************/

// <auto-generated />
using System;
using System.Text.Json;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
using Npgsql.EntityFrameworkCore.PostgreSQL.Metadata;
using Org.Eclipse.TractusX.Portal.Backend.PortalBackend.PortalEntities;
using System.Text.Json;

#nullable disable

Expand Down

0 comments on commit 45832fa

Please sign in to comment.