diff --git a/docs/en/Migration-Guides/Abp-5_0.md b/docs/en/Migration-Guides/Abp-5_0.md index 8a4dd05086..1a34de43c9 100644 --- a/docs/en/Migration-Guides/Abp-5_0.md +++ b/docs/en/Migration-Guides/Abp-5_0.md @@ -95,6 +95,7 @@ public partial class AddIsActiveToIdentityUser : Migration For MongoDB, you need to update the `IsActive` field for the existing users in the database. +You can use following script in MongoShell: ```js db.AbpUsers.updateMany({},{$set:{ IsActive : true }}) ```