From 2e86ace4593d32a2cb1a4be9a758911ff25e4a89 Mon Sep 17 00:00:00 2001 From: Paweł Bernaciak Date: Wed, 25 Oct 2023 20:28:34 +0200 Subject: Model fixes --- backend/Elements.Data/ApplicationDbContext.cs | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'backend/Elements.Data/ApplicationDbContext.cs') diff --git a/backend/Elements.Data/ApplicationDbContext.cs b/backend/Elements.Data/ApplicationDbContext.cs index d971b4e..460e730 100644 --- a/backend/Elements.Data/ApplicationDbContext.cs +++ b/backend/Elements.Data/ApplicationDbContext.cs @@ -36,6 +36,7 @@ public class ApplicationDbContext : DbContext new Element() { Id = 1, + CreationDate = DateTime.UtcNow, Name = "Fire", UserId = 1, State = ElementState.HasIcon, @@ -44,6 +45,7 @@ public class ApplicationDbContext : DbContext new Element() { Id = 2, + CreationDate = DateTime.UtcNow, Name = "Water", UserId = 1, State = ElementState.HasIcon, @@ -52,6 +54,7 @@ public class ApplicationDbContext : DbContext new Element() { Id = 3, + CreationDate = DateTime.UtcNow, Name = "Air", UserId = 1, State = ElementState.HasIcon, @@ -60,6 +63,7 @@ public class ApplicationDbContext : DbContext new Element() { Id = 4, + CreationDate = DateTime.UtcNow, Name = "Ground", UserId = 1, State = ElementState.HasIcon, -- cgit v1.2.3