From b7e09de3cb8709e5456b996984b5de8161202ef6 Mon Sep 17 00:00:00 2001 From: Paweł Bernaciak Date: Sun, 29 Oct 2023 16:07:04 +0100 Subject: Dockerize app for deployment and development --- backend/Elements.Data/ApplicationContextFactory.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'backend/Elements.Data/ApplicationContextFactory.cs') diff --git a/backend/Elements.Data/ApplicationContextFactory.cs b/backend/Elements.Data/ApplicationContextFactory.cs index b8e4ebd..76f11e1 100644 --- a/backend/Elements.Data/ApplicationContextFactory.cs +++ b/backend/Elements.Data/ApplicationContextFactory.cs @@ -8,7 +8,7 @@ public class ApplicationContextFactory : IDesignTimeDbContextFactory optionsBuilder = new(); - optionsBuilder.UseSqlite("Data Source=elements.db"); + optionsBuilder.UseNpgsql("Server=database;Port=5432;Database=elements;User Id=elements;Password=elementspass"); return new ApplicationDbContext(optionsBuilder.Options); } -- cgit v1.2.3