forked from brunobritodev/JPProject.IdentityServer4.AdminUI
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathEventStoreContextModelSnapshot.cs
More file actions
44 lines (35 loc) · 1.33 KB
/
EventStoreContextModelSnapshot.cs
File metadata and controls
44 lines (35 loc) · 1.33 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
// <auto-generated />
using System;
using Jp.Infra.Data.Context;
using Microsoft.EntityFrameworkCore;
using Microsoft.EntityFrameworkCore.Infrastructure;
using Microsoft.EntityFrameworkCore.Storage.ValueConversion;
namespace Jp.Infra.Data.Sqlite.Migrations.EventStore
{
[DbContext(typeof(EventStoreContext))]
partial class EventStoreContextModelSnapshot : ModelSnapshot
{
protected override void BuildModel(ModelBuilder modelBuilder)
{
#pragma warning disable 612, 618
modelBuilder
.HasAnnotation("ProductVersion", "2.2.6-servicing-10079");
modelBuilder.Entity("Jp.Domain.Core.Events.StoredEvent", b =>
{
b.Property<Guid>("Id")
.ValueGeneratedOnAdd();
b.Property<string>("AggregateId");
b.Property<string>("Data");
b.Property<string>("MessageType")
.HasColumnName("Action")
.HasColumnType("varchar(100)");
b.Property<DateTime>("Timestamp")
.HasColumnName("CreationDate");
b.Property<string>("User");
b.HasKey("Id");
b.ToTable("StoredEvent");
});
#pragma warning restore 612, 618
}
}
}