init
This commit is contained in:
commit
ab2e20f7e1
72 changed files with 2000 additions and 0 deletions
|
@ -0,0 +1,16 @@
|
|||
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");
|
||||
}
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue