Buddy System #3

Merged
Moonbase merged 18 commits from buddies into master 2025-03-07 18:20:40 -08:00
3 changed files with 1330 additions and 0 deletions
Showing only changes of commit a3ba9556d0 - Show all commits

File diff suppressed because it is too large Load Diff

View File

@ -0,0 +1,22 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace sodoff.Migrations
{
/// <inheritdoc />
public partial class Buddies_DBSetFix : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
}
}
}

View File

@ -32,6 +32,7 @@ public class DBContext : DbContext {
public DbSet<UserBadgeCompleteData> UserBadgesCompleted { get; set; } = null!;
public DbSet<UserBan> Bans { get; set; } = null!;
public DbSet<Message> Messages { get; set; } = null!;
public DbSet<Buddy> Buddies { get; set; } = null!;
private readonly IOptions<ApiServerConfig> config;