vassago/Migrations/20250708171025_UnconfinguredWebhooks.cs
adam 65b3985b14
All checks were successful
gitea.arg.rip/vassago/pipeline/head This commit looks good
configurations but not webhooks
see #47
2025-07-09 15:07:42 -04:00

30 lines
780 B
C#

using System.Collections.Generic;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace vassago.Migrations
{
/// <inheritdoc />
public partial class UnconfinguredWebhooks : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "Webhooks",
table: "Configurations");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<List<string>>(
name: "Webhooks",
table: "Configurations",
type: "text[]",
nullable: true);
}
}
}