Mark subproject as dirty in CMKS - Infra

This commit is contained in:
Nils Blomgren
2026-05-18 08:37:09 +02:00
parent 328d494530
commit 8b94fb8826
635 changed files with 81145 additions and 100551 deletions

View File

@@ -0,0 +1,110 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace EntKube.Web.Data.Migrations.Postgres
{
/// <inheritdoc />
public partial class AddComponentLifecycleFields : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "HelmChartName",
table: "ClusterComponents",
type: "text",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "HelmChartVersion",
table: "ClusterComponents",
type: "text",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "HelmRepoUrl",
table: "ClusterComponents",
type: "text",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "HelmValues",
table: "ClusterComponents",
type: "text",
nullable: true);
migrationBuilder.AddColumn<DateTime>(
name: "InstalledAt",
table: "ClusterComponents",
type: "timestamp with time zone",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "LastError",
table: "ClusterComponents",
type: "text",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "Namespace",
table: "ClusterComponents",
type: "text",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "ReleaseName",
table: "ClusterComponents",
type: "text",
nullable: true);
migrationBuilder.AddColumn<int>(
name: "Status",
table: "ClusterComponents",
type: "integer",
nullable: false,
defaultValue: 0);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "HelmChartName",
table: "ClusterComponents");
migrationBuilder.DropColumn(
name: "HelmChartVersion",
table: "ClusterComponents");
migrationBuilder.DropColumn(
name: "HelmRepoUrl",
table: "ClusterComponents");
migrationBuilder.DropColumn(
name: "HelmValues",
table: "ClusterComponents");
migrationBuilder.DropColumn(
name: "InstalledAt",
table: "ClusterComponents");
migrationBuilder.DropColumn(
name: "LastError",
table: "ClusterComponents");
migrationBuilder.DropColumn(
name: "Namespace",
table: "ClusterComponents");
migrationBuilder.DropColumn(
name: "ReleaseName",
table: "ClusterComponents");
migrationBuilder.DropColumn(
name: "Status",
table: "ClusterComponents");
}
}
}