forked from SoDOff-Project/sodoff
data model fix
This commit is contained in:
parent
21b7cd9694
commit
a3ba9556d0
1307
src/Migrations/20250303204009_Buddies_DBSetFix.Designer.cs
generated
Normal file
1307
src/Migrations/20250303204009_Buddies_DBSetFix.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
22
src/Migrations/20250303204009_Buddies_DBSetFix.cs
Normal file
22
src/Migrations/20250303204009_Buddies_DBSetFix.cs
Normal 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)
|
||||||
|
{
|
||||||
|
|
||||||
|
}
|
||||||
|
}
|
||||||
|
}
|
@ -32,6 +32,7 @@ public class DBContext : DbContext {
|
|||||||
public DbSet<UserBadgeCompleteData> UserBadgesCompleted { get; set; } = null!;
|
public DbSet<UserBadgeCompleteData> UserBadgesCompleted { get; set; } = null!;
|
||||||
public DbSet<UserBan> Bans { get; set; } = null!;
|
public DbSet<UserBan> Bans { get; set; } = null!;
|
||||||
public DbSet<Message> Messages { get; set; } = null!;
|
public DbSet<Message> Messages { get; set; } = null!;
|
||||||
|
public DbSet<Buddy> Buddies { get; set; } = null!;
|
||||||
|
|
||||||
private readonly IOptions<ApiServerConfig> config;
|
private readonly IOptions<ApiServerConfig> config;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user