Changeset 0c48bbb for Farmatiko


Ignore:
Timestamp:
07/21/20 12:05:35 (4 years ago)
Author:
Mile Jankuloski <mile.jankuloski@…>
Branches:
master
Children:
333cdac, 92a1f41
Parents:
dba4ca9 (diff), f33b0d4 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the (diff) links above to see all the changes relative to each parent.
Message:

Merge branch 'master' of https://develop.finki.ukim.mk/git/farmatiko
Updates

Location:
Farmatiko
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Farmatiko/Startup.cs

    rdba4ca9 r0c48bbb  
    11using Microsoft.AspNetCore.Builder;
    22using Microsoft.AspNetCore.Hosting;
    3 using Microsoft.AspNetCore.HttpsPolicy;
    43using Microsoft.AspNetCore.SpaServices.AngularCli;
    54using Microsoft.Extensions.Configuration;
     
    3029            });
    3130            var connectionString = Configuration.GetSection("ConnectionStrings").GetValue<string>("FarmatikoConnection");
    32             services.AddEntityFrameworkNpgsql().AddDbContext<FarmatikoDataContext>(opt => opt.UseNpgsql(connectionString));
     31
     32            services.AddEntityFrameworkNpgsql().AddDbContext<FarmatikoDataContext>(opt => {
     33                opt.UseNpgsql(connectionString);
     34            });
    3335
    3436        }
  • Farmatiko/appsettings.json

    rdba4ca9 r0c48bbb  
    11{
    22  "ConnectionStrings": {
    3     "FarmatikoConnection": "User ID=postgres;Password=@@Farmatiko@@.;database=FarmatikoDb;Integrated Security=true; Pooling=true;"
     3    "FarmatikoConnection": "Host=localhost;User ID=postgres;Password=@@Postgres@@.;database=FarmatikoDb;Integrated Security=true; Pooling=true;"
    44  },
    55  "Logging": {
Note: See TracChangeset for help on using the changeset viewer.