summaryrefslogtreecommitdiff
path: root/backend/Elements.Data/ApplicationDbContext.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/ApplicationDbContext.cs
parent68e4282555a55f429320b80f09f609970dc76e92 (diff)
Model fixes
Diffstat (limited to 'backend/Elements.Data/ApplicationDbContext.cs')
-rw-r--r--backend/Elements.Data/ApplicationDbContext.cs4
1 files changed, 4 insertions, 0 deletions
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,