Fixed a bug with postgresql and mysql migration folders as well as compilation warning related to it

This commit is contained in:
Kwoth
2022-10-08 09:05:31 +02:00
parent eedf6998b6
commit 8effe817ad
46 changed files with 0 additions and 7232 deletions

View File

@@ -0,0 +1,26 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace NadekoBot.Migrations.PostgreSql
{
public partial class linkonlychannels : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<int>(
name: "type",
table: "imageonlychannels",
type: "integer",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "type",
table: "imageonlychannels");
}
}
}