The following questions are about the DB set up with aspnet_regsql.exe (for .NET 4):
- Why is the username stored in aspnet_Users both in original form and in lowercase? Why not lowercase all the time?
- Why are Users and UsersMembership two distinct tables? Is this just because we can have different membership/application or is some best practice?
- Should data like "IsApproved" be stored in DB like a column? For me it seems like a temporary column that, once approved, could be removed. So why not store it a table with key/value pairs (something like "ExtendedpProperties). Similar for other columns like "Comment" or "LastLockoutDate".
- What is the purpose of "LastUpdatedDate" in "aspnet_PersonalizationPerUser"?
- Why are there two columns for Value in aspnet_Profile?
Is there something wrong in that DB? Do you think that it should have been designed in another way? Please provide arguments.
Thanks!