Lieb-Website/Lieb/Migrations/20221128221654_AddAlwaysSignUpWithMainAccount.cs
Sarah Faey dc2563e16c added needed rights for slash commands
added functions for account select in the bot
2022-11-29 00:04:22 +01:00

26 lines
732 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Lieb.Migrations
{
public partial class AddAlwaysSignUpWithMainAccount : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "AlwaysSignUpWithMainAccount",
table: "LiebUser",
type: "INTEGER",
nullable: false,
defaultValue: false);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "AlwaysSignUpWithMainAccount",
table: "LiebUser");
}
}
}