forked from adam/discord-bot-shtik
All checks were successful
gitea.arg.rip/vassago/pipeline/head This commit looks good
see #47
30 lines
780 B
C#
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);
|
|
}
|
|
}
|
|
}
|