Open Closed

Database Provider in Volo Docs #3675


User avatar
0
zalak created

How can I change the Database Provider to PostgreSql in Volo Docs ? Changing only the connection string to equivalent postgresql connection string isn't working. Please guide for the same if any other steps are needed to be performed.

Markdown supported.
Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)

3 Answer(s)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    Hi, please see the Switch to EF Core PostgreSQL Provider documentation.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    zalak created

    Hi, please see the Switch to EF Core PostgreSQL Provider documentation. I went through the documentation you suggested but it requires Entity Framework Core .cs file which I won't be having in template downloaded to setup from https://docs.abp.io/en/abp/latest/Apps/VoloDocs

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
  • User Avatar
    0
    EngincanV created
    Support Team .NET Developer

    I went through the documentation you suggested but it requires Entity Framework Core .cs file which I won't be having in template downloaded to setup from https://docs.abp.io/en/abp/latest/Apps/VoloDocs

    VoloDocs is a self-contained application, which only can be run without modification of code (you can think it as a sample application. So, if you want to use the Docs Module of ABP Framework and change the database provider as PostgreSQL, you need to create a template with PostgreSQL as database provider and then add the Docs Module to your application:

    1-) Creating a template with PostgreSQL as database provider :

    abp new Acme.BookStore --database-management-system PostgreSQL
    

    2-) Add Docs Module into your application:

    abp add-module Volo.Docs
    

    Then, you can use the Docs Module with PostgreSQL. But as i said, it's not possible with self-contained VoloDocs application.

    Markdown supported.
    Copy, paste, or drag & drop images and files (max 100 MB per file, 100 MB total per post)
Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.8.0-preview. Updated on September 28, 2026, 11:44
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.