Pushed up to docker

This commit is contained in:
2021-11-02 09:16:15 -04:00
parent a3ec5f6169
commit 873f126aac
10 changed files with 452 additions and 846 deletions

View File

@@ -35,7 +35,7 @@ namespace TOOHUCardAPI
services.AddControllers().AddNewtonsoftJson();
services.AddDbContext<AppDbContext>(opt =>
{
opt.UseSqlite(Configuration.GetConnectionString("Sqlite"));
opt.UseNpgsql(Configuration.GetConnectionString("postgres"));
});
services.AddScoped<UserRepository>();
services.AddScoped<StoreService>();