1
0
mirror of synced 2024-11-28 08:30:56 +01:00
TaikoLocalServer/GameDatabase/Migrations/20231218152045_AddIsAdminToUserDatum.cs

30 lines
768 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace GameDatabase.Migrations
{
/// <inheritdoc />
public partial class AddIsAdminToUserDatum : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "IsAdmin",
table: "UserData",
type: "INTEGER",
nullable: false,
defaultValue: false);
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "IsAdmin",
table: "UserData");
}
}
}