Mark subproject as dirty in CMKS - Infra
This commit is contained in:
@@ -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");
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user