Skip to content

Commit

Permalink
normalize deployments data
Browse files Browse the repository at this point in the history
  • Loading branch information
mirkoSekulic committed Jan 7, 2025
1 parent 0387d83 commit edd74a9
Show file tree
Hide file tree
Showing 2 changed files with 261 additions and 0 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
@@ -0,0 +1,23 @@
using Altinn.Studio.Designer.Migrations.SqlScripts;
using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace Altinn.Studio.Designer.Migrations
{
/// <inheritdoc />
public partial class NormalizeDeploymentsData : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.Sql(SqlScriptsReadHelper.ReadSqlScript("DeploymentsNormalization/normalization.sql"));
}

/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
// No data being deleted, so no need to implement this
}
}
}

0 comments on commit edd74a9

Please sign in to comment.