16 lines
No EOL
472 B
C#
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");
|
|
}
|
|
} |