first commit

This commit is contained in:
Nickk888 committed 2026-10-09 08:13:44 +02:00
commit 07e4e6b381
13 files changed
+388

No files matched your search

+24
View File
@@ -0,0 +1,24 @@
using System;
using Microsoft.EntityFrameworkCore;
namespace PaperlessAI.Context;
public class MyDbContext : DbContext
{
public MyDbContext()
{
}
public MyDbContext(DbContextOptions<MyDbContext> options)
: base(options)
{
}
protected override void OnModelCreating(ModelBuilder modelBuilder)
{
modelBuilder
.UseCollation("utf8mb4_uca1400_ai_ci")
.HasCharSet("utf8mb4");
}
}