forked from loic-sharma/BaGet
-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Labels
Description
Summary
Standardize the database layer on PostgreSQL and remove SQL Server and MySQL providers.
Tasks
- Update
Npgsql.EntityFrameworkCore.PostgreSQLto 9.0.0 - Add timestamp behavior switch in
Program.cs - Update default configuration to use PostgreSQL
- Delete
src/BaGet.Database.SqlServer/project - Delete
src/BaGet.Database.MySql/project - Remove projects from
BaGet.sln - Generate new EF Core migration for PostgreSQL
- Keep SQLite for development/testing
Files to Modify
src/BaGet.Database.PostgreSql/BaGet.Database.PostgreSql.csprojsrc/BaGet/Program.cssrc/BaGet/appsettings.jsonBaGet.sln
Default Configuration
{
"Database": {
"Type": "PostgreSql",
"ConnectionString": "Host=localhost;Database=baget;Username=baget;Password=baget"
}
}Dependencies
- Depends on .NET 9 upgrade
Reactions are currently unavailable