15 lines
456 B
C#
15 lines
456 B
C#
using Femto.Common.Infrastructure.Outbox;
|
|
using Microsoft.EntityFrameworkCore;
|
|
using Microsoft.EntityFrameworkCore.Metadata.Builders;
|
|
|
|
namespace Femto.Modules.Blog.Application.Configurations;
|
|
|
|
internal class OutboxEntryConfiguration : IEntityTypeConfiguration<OutboxEntry>
|
|
{
|
|
public void Configure(EntityTypeBuilder<OutboxEntry> builder)
|
|
{
|
|
builder.ToTable("outbox");
|
|
|
|
builder.Property(x => x.Payload).HasColumnType("jsonb");
|
|
}
|
|
}
|