-->

Can I add a column to Membership Provider's ta

2019-09-22 01:23发布

问题:

Should I add a column to users table to store user face pictures?

Or should I create a new table to save face pictures?

回答1:

You cannot alter Memebership's tables. If you add/edit/delete a column of one of those Membership tables, Membership Provider will stop working.

Instead, you want to create your own table, and make UserID of Membership's Users table as primary key as well as foreign key (which is basically one-to-one relationship).

Here is an example -