-
Notifications
You must be signed in to change notification settings - Fork 1
Database Initialization
baharehdm edited this page Nov 16, 2018
·
2 revisions
- Install PostgreSQL
- Clone the project
- Open Package Manager Console in Visual Studio 2017 to install .NET Data Provider For PostgreSQL (Npgsql) using following commands
- Install-Package Npgsql
- Install-Package EntityFramework6.Npgsql
- Provider settings for DB initialization has been added to the Web.config file
- Open the package manager console and run the following commands
- Enable-Migrations
- Add-Migration "Init"
- Update-Database -Verbose
- Open PostgreSQL
- Find the “DataGovernance” Database under Databases