-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Implemented IsActive
flag on IUserData
#11417
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Conversation
Thanks @NecatiMeral for your contribution. I will review and think about that. |
@@ -16,5 +16,6 @@ public static void ConfigureAbpUser<TUser>(this EntityTypeBuilder<TUser> b) | |||
b.Property(u => u.EmailConfirmed).HasDefaultValue(false).HasColumnName(nameof(IUser.EmailConfirmed)); | |||
b.Property(u => u.PhoneNumber).HasMaxLength(AbpUserConsts.MaxPhoneNumberLength).HasColumnName(nameof(IUser.PhoneNumber)); | |||
b.Property(u => u.PhoneNumberConfirmed).HasDefaultValue(false).HasColumnName(nameof(IUser.PhoneNumberConfirmed)); | |||
b.Property(u => u.IsActive).HasDefaultValue(true).HasColumnName(nameof(IUser.IsActive)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This will cause a problem.
dotnet/efcore#15323 (comment)
Codecov Report
@@ Coverage Diff @@
## dev #11417 +/- ##
======================================
Coverage ? 49.25%
======================================
Files ? 3114
Lines ? 93050
Branches ? 0
======================================
Hits ? 45834
Misses ? 47216
Partials ? 0
Continue to review full report at Codecov.
|
Fixes #11416
WARNING
There are some migrations (in the CmsKit-module) which have dangerous changes. I tried to locate the root cause and I cannot find the underlying entities whose tables will get dropped.