mirror of
https://github.com/CannedNet/CannedNet.git
synced 2026-10-25 23:18:54 -07:00
random bullshit go
reccenter still doesnt work
This commit is contained in:
@@ -105,7 +105,7 @@ public class AppDbContext : DbContext
|
||||
entity.HasKey(e => e.Id);
|
||||
entity.Property(e => e.Id).ValueGeneratedOnAdd();
|
||||
entity.Property(e => e.OwnerAccountId).IsRequired();
|
||||
entity.HasIndex(e => e.OwnerAccountId).IsUnique();
|
||||
entity.HasIndex(e => new { e.OwnerAccountId, e.roomId });
|
||||
entity.ToTable("room_instances");
|
||||
});
|
||||
|
||||
|
||||
Reference in New Issue
Block a user