aboutsummaryrefslogtreecommitdiff
path: root/Database
diff options
context:
space:
mode:
Diffstat (limited to 'Database')
-rw-r--r--Database/Database.cs3
1 files changed, 2 insertions, 1 deletions
diff --git a/Database/Database.cs b/Database/Database.cs
index 7ac722f..9a78988 100644
--- a/Database/Database.cs
+++ b/Database/Database.cs
@@ -68,7 +68,8 @@ namespace Database {
entity.Property(e => e.PublishDate)
.HasColumnName("publish_date")
- .HasColumnType("date");
+ .HasColumnType("date")
+ .ValueGeneratedNever();
entity.Property(e => e.Source)
.HasColumnName("source")