From 79f5eaf40b93d64be74d8b4f1ef80d19fadbfbe1 Mon Sep 17 00:00:00 2001 From: Paweł Bernaciak Date: Fri, 29 Dec 2023 09:41:56 +0100 Subject: Cywilizowany tailwind --- CoreWiki/Models/ApplicationDbContext.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'CoreWiki/Models/ApplicationDbContext.cs') diff --git a/CoreWiki/Models/ApplicationDbContext.cs b/CoreWiki/Models/ApplicationDbContext.cs index 38c3787..95eb460 100644 --- a/CoreWiki/Models/ApplicationDbContext.cs +++ b/CoreWiki/Models/ApplicationDbContext.cs @@ -15,7 +15,7 @@ public class ApplicationDbContext : DbContext { base.OnModelCreating(modelBuilder); modelBuilder.Entity
().HasData( - new Article { Topic = "Home Page", Slug = "home-page", Content = "Welcome to your new CoreWiki installation" } + new Article { Id = 1, Topic = "Home Page", Slug = "home-page", ViewCount = 0, Content = "Welcome to your new CoreWiki installation" } ); } } \ No newline at end of file -- cgit v1.2.3