diff --git a/docs/en/Best-Practices/PostgreSQL-Integration.md b/docs/en/Best-Practices/PostgreSQL-Integration.md index 9b0bf40dc2..cc7cd54f12 100644 --- a/docs/en/Best-Practices/PostgreSQL-Integration.md +++ b/docs/en/Best-Practices/PostgreSQL-Integration.md @@ -9,6 +9,11 @@ - Replace the `AbpEntityFrameworkCoreSqlServerModule` with the `AbpEntityFrameworkCorePostgreSqlModule` - Replace the `options.UseSqlServer()` with the `options.UsePostgreSql()` - In other projects update the PostgreSQL connection string in necessary `appsettings.json` files + - more info of [PostgreSQL connection strings](https://www.connectionstrings.com/postgresql/),You need to pay attention to `Npgsql` in this document + +### EntityFrameworkCore.DbMigrations Project Update +- Update to use PostgreSQL in `XXXMigrationsDbContextFactory` + - Replace the `new DbContextOptionsBuilder().UseSqlServer()` with the `new DbContextOptionsBuilder().UseNpgsql()` #### Delete Existing Migrations