Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Install PostgreSQL as the main database #139

Open
loid345 opened this issue Jan 22, 2023 · 3 comments
Open

Install PostgreSQL as the main database #139

loid345 opened this issue Jan 22, 2023 · 3 comments

Comments

@loid345
Copy link

loid345 commented Jan 22, 2023

Mssql is not an open source database and it cannot be said that the platform is based on open source components. But EF also supports postgres. I suggest adding postgres support and installing PostgreSQL as the main database

@efonsecab
Copy link
Contributor

Hello @loid345 , thanks for creating the task, the item has been moved to under consideration, in order to support additional database engine providers, it will however not be the default.
The system purposely uses Microsoft SQL Server to avoid using Entity Framework migrations, and instead have an SQL Database Project, as a means to facilitate learning for students and junior developers.

@loid345
Copy link
Author

loid345 commented Jan 22, 2023

thanks for the answer.
The pgsql provider looks and feels just like any other Entity Framework Core provider.
No special changes will be required
https://www.nuget.org/packages/Npgsql.EntityFrameworkCore.PostgreSQL
https://learn.microsoft.com/en-us/ef/core/providers/?source=recommendations&tabs=dotnet-core-cli
But for example eShopOnAbp abandoned mssql in favor of postgres
https://github.com/abpframework/eShopOnAbp

@efonsecab
Copy link
Contributor

Research issue created #149

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
Status: No status
Development

No branches or pull requests

2 participants