Skip to content

Database Initialization

baharehdm edited this page Nov 16, 2018 · 2 revisions
  1. Install PostgreSQL
  2. Clone the project
  3. 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
  4. Provider settings for DB initialization has been added to the Web.config file
  5. Open the package manager console and run the following commands
    • Enable-Migrations
    • Add-Migration "Init"
    • Update-Database -Verbose
  6. Open PostgreSQL
  7. Find the “DataGovernance” Database under Databases
Clone this wiki locally