summaryrefslogtreecommitdiff
path: root/backend/Elements.Data/Migrations/ApplicationDbContextModelSnapshot.cs
diff options
context:
space:
mode:
authorPaweł Bernaciak <pawelbernaciak@zohomail.eu>2023-10-25 20:28:34 +0200
committerPaweł Bernaciak <pawelbernaciak@zohomail.eu>2023-10-25 20:28:34 +0200
commit2e86ace4593d32a2cb1a4be9a758911ff25e4a89 (patch)
tree33582ae0ef03f6a1556f950a43004bba6c1ee0f2 /backend/Elements.Data/Migrations/ApplicationDbContextModelSnapshot.cs
parent68e4282555a55f429320b80f09f609970dc76e92 (diff)
Model fixes
Diffstat (limited to 'backend/Elements.Data/Migrations/ApplicationDbContextModelSnapshot.cs')
-rw-r--r--backend/Elements.Data/Migrations/ApplicationDbContextModelSnapshot.cs40
1 files changed, 25 insertions, 15 deletions
diff --git a/backend/Elements.Data/Migrations/ApplicationDbContextModelSnapshot.cs b/backend/Elements.Data/Migrations/ApplicationDbContextModelSnapshot.cs
index 5964a6c..7b88425 100644
--- a/backend/Elements.Data/Migrations/ApplicationDbContextModelSnapshot.cs
+++ b/backend/Elements.Data/Migrations/ApplicationDbContextModelSnapshot.cs
@@ -23,6 +23,9 @@ namespace Elements.Data.Migrations
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
+ b.Property<DateTime>("CreationDate")
+ .HasColumnType("TEXT");
+
b.Property<byte[]>("IconPng")
.IsRequired()
.HasColumnType("BLOB");
@@ -47,6 +50,7 @@ namespace Elements.Data.Migrations
new
{
Id = 1,
+ CreationDate = new DateTime(2023, 10, 24, 19, 28, 3, 290, DateTimeKind.Utc).AddTicks(1750),
IconPng = new byte[] { 137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 82, 0, 0, 0, 16, 0, 0, 0, 16, 8, 6, 0, 0, 0, 31, 243, 255, 97, 0, 0, 0, 9, 112, 72, 89, 115, 0, 0, 14, 196, 0, 0, 14, 196, 1, 149, 43, 14, 27, 0, 0, 0, 29, 73, 68, 65, 84, 120, 156, 99, 249, 95, 224, 252, 159, 129, 2, 192, 194, 64, 33, 24, 53, 96, 212, 128, 81, 3, 6, 139, 1, 0, 119, 65, 2, 242, 233, 108, 215, 141, 0, 0, 0, 0, 73, 69, 78, 68, 174, 66, 96, 130 },
Name = "Fire",
State = 1,
@@ -55,6 +59,7 @@ namespace Elements.Data.Migrations
new
{
Id = 2,
+ CreationDate = new DateTime(2023, 10, 24, 19, 28, 3, 290, DateTimeKind.Utc).AddTicks(2880),
IconPng = new byte[] { 137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 82, 0, 0, 0, 16, 0, 0, 0, 16, 8, 6, 0, 0, 0, 31, 243, 255, 97, 0, 0, 0, 9, 112, 72, 89, 115, 0, 0, 14, 196, 0, 0, 14, 196, 1, 149, 43, 14, 27, 0, 0, 0, 29, 73, 68, 65, 84, 120, 156, 99, 81, 156, 246, 249, 63, 3, 5, 128, 133, 129, 66, 48, 106, 192, 168, 1, 163, 6, 12, 22, 3, 0, 85, 67, 2, 234, 36, 203, 134, 16, 0, 0, 0, 0, 73, 69, 78, 68, 174, 66, 96, 130 },
Name = "Water",
State = 1,
@@ -63,6 +68,7 @@ namespace Elements.Data.Migrations
new
{
Id = 3,
+ CreationDate = new DateTime(2023, 10, 24, 19, 28, 3, 290, DateTimeKind.Utc).AddTicks(3350),
IconPng = new byte[] { 137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 82, 0, 0, 0, 16, 0, 0, 0, 16, 8, 6, 0, 0, 0, 31, 243, 255, 97, 0, 0, 0, 9, 112, 72, 89, 115, 0, 0, 14, 196, 0, 0, 14, 196, 1, 149, 43, 14, 27, 0, 0, 0, 30, 73, 68, 65, 84, 120, 156, 99, 217, 125, 239, 247, 127, 6, 10, 0, 11, 3, 133, 96, 212, 128, 81, 3, 70, 13, 24, 44, 6, 0, 0, 10, 221, 3, 212, 197, 89, 182, 174, 0, 0, 0, 0, 73, 69, 78, 68, 174, 66, 96, 130 },
Name = "Air",
State = 1,
@@ -71,6 +77,7 @@ namespace Elements.Data.Migrations
new
{
Id = 4,
+ CreationDate = new DateTime(2023, 10, 24, 19, 28, 3, 290, DateTimeKind.Utc).AddTicks(3790),
IconPng = new byte[] { 137, 80, 78, 71, 13, 10, 26, 10, 0, 0, 0, 13, 73, 72, 68, 82, 0, 0, 0, 16, 0, 0, 0, 16, 8, 6, 0, 0, 0, 31, 243, 255, 97, 0, 0, 0, 9, 112, 72, 89, 115, 0, 0, 14, 196, 0, 0, 14, 196, 1, 149, 43, 14, 27, 0, 0, 0, 29, 73, 68, 65, 84, 120, 156, 99, 137, 117, 48, 255, 207, 64, 1, 96, 97, 160, 16, 140, 26, 48, 106, 192, 168, 1, 131, 197, 0, 0, 242, 75, 2, 20, 1, 55, 196, 168, 0, 0, 0, 0, 73, 69, 78, 68, 174, 66, 96, 130 },
Name = "Ground",
State = 1,
@@ -84,22 +91,22 @@ namespace Elements.Data.Migrations
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
- b.Property<int>("FirstIngredientId")
+ b.Property<int>("FirstElementId")
.HasColumnType("INTEGER");
- b.Property<int>("ResultId")
+ b.Property<int>("ResultElementId")
.HasColumnType("INTEGER");
- b.Property<int>("SecondIngredientId")
+ b.Property<int>("SecondElementId")
.HasColumnType("INTEGER");
b.HasKey("Id");
- b.HasIndex("FirstIngredientId");
+ b.HasIndex("FirstElementId");
- b.HasIndex("ResultId");
+ b.HasIndex("ResultElementId");
- b.HasIndex("SecondIngredientId");
+ b.HasIndex("SecondElementId");
b.ToTable("Recipes");
});
@@ -110,6 +117,9 @@ namespace Elements.Data.Migrations
.ValueGeneratedOnAdd()
.HasColumnType("INTEGER");
+ b.Property<DateTime>("CreationDate")
+ .HasColumnType("TEXT");
+
b.Property<int>("FirstElementId")
.HasColumnType("INTEGER");
@@ -202,29 +212,29 @@ namespace Elements.Data.Migrations
modelBuilder.Entity("Elements.Data.Models.Recipe", b =>
{
- b.HasOne("Elements.Data.Models.Element", "FirstIngredient")
+ b.HasOne("Elements.Data.Models.Element", "FirstElement")
.WithMany()
- .HasForeignKey("FirstIngredientId")
+ .HasForeignKey("FirstElementId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
- b.HasOne("Elements.Data.Models.Element", "Result")
+ b.HasOne("Elements.Data.Models.Element", "ResultElement")
.WithMany()
- .HasForeignKey("ResultId")
+ .HasForeignKey("ResultElementId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
- b.HasOne("Elements.Data.Models.Element", "SecondIngredient")
+ b.HasOne("Elements.Data.Models.Element", "SecondElement")
.WithMany()
- .HasForeignKey("SecondIngredientId")
+ .HasForeignKey("SecondElementId")
.OnDelete(DeleteBehavior.Cascade)
.IsRequired();
- b.Navigation("FirstIngredient");
+ b.Navigation("FirstElement");
- b.Navigation("Result");
+ b.Navigation("ResultElement");
- b.Navigation("SecondIngredient");
+ b.Navigation("SecondElement");
});
modelBuilder.Entity("Elements.Data.Models.Suggestion", b =>