aboutsummaryrefslogtreecommitdiff
path: root/Database
diff options
context:
space:
mode:
Diffstat (limited to 'Database')
-rw-r--r--Database/Database.cs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Database/Database.cs b/Database/Database.cs
index 14569aa..7ac722f 100644
--- a/Database/Database.cs
+++ b/Database/Database.cs
@@ -49,7 +49,7 @@ namespace Database {
entity.Property(e => e.ArticleID)
.HasColumnName("article_id")
.HasColumnType("int(11)")
- .ValueGeneratedNever();
+ .ValueGeneratedOnAdd();
entity.Property(e => e.ArticleLink)
.HasColumnName("article_link")