femto-backend/Femto.Modules.Blog/Data/Configurations/OutboxEntryConfiguration.cs
2025-05-03 15:38:57 +02:00

16 lines
No EOL
472 B
C#

using Femto.Modules.Blog.Infrastructure.Integration;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Metadata.Builders;
namespace Femto.Modules.Blog.Data.Configurations;
internal class OutboxEntryConfiguration : IEntityTypeConfiguration<OutboxEntry>
{
public void Configure(EntityTypeBuilder<OutboxEntry> builder)
{
builder.ToTable("outbox");
builder.Property(x => x.Payload)
.HasColumnType("jsonb");
}
}