Migrated database changes after refactoring the Notification model
This commit is contained in:
@@ -168,9 +168,8 @@ namespace LiteCharms.Infrastructure.Database.Migrations
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<string>("CorrelationIdType")
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
b.Property<int>("CorrelationIdType")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.Property<DateTimeOffset>("CreatedAt")
|
||||
.ValueGeneratedOnAdd()
|
||||
@@ -179,6 +178,14 @@ namespace LiteCharms.Infrastructure.Database.Migrations
|
||||
b.Property<int>("Direction")
|
||||
.HasColumnType("integer");
|
||||
|
||||
b.PrimitiveCollection<string>("Errors")
|
||||
.HasColumnType("jsonb");
|
||||
|
||||
b.Property<bool>("HasError")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("boolean")
|
||||
.HasDefaultValue(false);
|
||||
|
||||
b.Property<bool>("IsHtml")
|
||||
.ValueGeneratedOnAdd()
|
||||
.HasColumnType("boolean")
|
||||
@@ -336,12 +343,17 @@ namespace LiteCharms.Infrastructure.Database.Migrations
|
||||
.IsRequired()
|
||||
.HasColumnType("text");
|
||||
|
||||
b.Property<Guid?>("ShoppingCartId")
|
||||
.HasColumnType("uuid");
|
||||
|
||||
b.Property<DateTimeOffset?>("UpdatedAt")
|
||||
.ValueGeneratedOnUpdate()
|
||||
.HasColumnType("timestamp with time zone");
|
||||
|
||||
b.HasKey("Id");
|
||||
|
||||
b.HasIndex("ShoppingCartId");
|
||||
|
||||
b.ToTable("Package", (string)null);
|
||||
});
|
||||
|
||||
@@ -611,6 +623,13 @@ namespace LiteCharms.Infrastructure.Database.Migrations
|
||||
b.Navigation("Order");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("LiteCharms.Entities.Package", b =>
|
||||
{
|
||||
b.HasOne("LiteCharms.Entities.ShoppingCart", null)
|
||||
.WithMany("Packages")
|
||||
.HasForeignKey("ShoppingCartId");
|
||||
});
|
||||
|
||||
modelBuilder.Entity("LiteCharms.Entities.PackageItem", b =>
|
||||
{
|
||||
b.HasOne("LiteCharms.Entities.Package", "Package")
|
||||
@@ -743,6 +762,8 @@ namespace LiteCharms.Infrastructure.Database.Migrations
|
||||
{
|
||||
b.Navigation("Order");
|
||||
|
||||
b.Navigation("Packages");
|
||||
|
||||
b.Navigation("Quote");
|
||||
|
||||
b.Navigation("ShoppingCartItems");
|
||||
|
||||
Reference in New Issue
Block a user