Add init weapon scraper

This commit is contained in:
bob
2026-05-29 14:00:58 -05:00
parent 286d1366fe
commit 6f3c0175cd
20 changed files with 1199 additions and 62 deletions

View File

@@ -0,0 +1,14 @@
using BlueLaminate.EFCore.Entities;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace BlueLaminate.EFCore.Configurations;
public class ScrapeRunConfiguration : IEntityTypeConfiguration<ScrapeRun>
{
public void Configure(EntityTypeBuilder<ScrapeRun> entity)
{
// The throttle check looks up the most recent run for a given source.
entity.HasIndex(e => new { e.Source, e.RanAt });
}
}