Changeset f33b0d4 for Farmatiko


Ignore:
Timestamp:
07/20/20 18:58:23 (4 years ago)
Author:
DimitarSlezenkovski <dslezenkovski@…>
Branches:
master
Children:
0c48bbb
Parents:
171f106
Message:

Add migration and DeletedOn property

Location:
Farmatiko
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • Farmatiko/Startup.cs

    r171f106 rf33b0d4  
    2929            });
    3030            var connectionString = Configuration.GetSection("ConnectionStrings").GetValue<string>("FarmatikoConnection");
    31             services.AddEntityFrameworkNpgsql().AddDbContext<FarmatikoDataContext>(opt => opt.UseNpgsql(connectionString));
     31
     32            services.AddEntityFrameworkNpgsql().AddDbContext<FarmatikoDataContext>(opt => {
     33                opt.UseNpgsql(connectionString);
     34            });
    3235
    3336        }
  • Farmatiko/appsettings.json

    r171f106 rf33b0d4  
    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.