Radicade Public Code

This commit is contained in:
JogmansonReal
2026-10-16 23:33:13 -07:00
commit 55175acdf6
832 changed files with 363261 additions and 0 deletions
@@ -0,0 +1,62 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace RadicadeServer.Migrations
{
public partial class TheUnRoleing : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "developer",
table: "Profiles");
migrationBuilder.DropColumn(
name: "moderator",
table: "Profiles");
migrationBuilder.DropColumn(
name: "screenshare",
table: "Profiles");
migrationBuilder.AddColumn<int>(
name: "role",
table: "Profiles",
type: "int",
nullable: false,
defaultValue: 0);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "role",
table: "Profiles");
migrationBuilder.AddColumn<bool>(
name: "developer",
table: "Profiles",
type: "bit",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<bool>(
name: "moderator",
table: "Profiles",
type: "bit",
nullable: false,
defaultValue: false);
migrationBuilder.AddColumn<bool>(
name: "screenshare",
table: "Profiles",
type: "bit",
nullable: false,
defaultValue: false);
}
}
}