开发者

Web-Application Design: users, account. database strucure and architecture

开发者 https://www.devze.com 2022-12-26 15:20 出处:网络
Hy, In my application there will be: pr开发者_JAVA百科ofiles: they are just users that make a profile and can do a lot of stuff...

Hy,

In my application there will be: pr开发者_JAVA百科ofiles: they are just users that make a profile and can do a lot of stuff... businesses: they can make new ads and do all this stuff

both can login and a profile can be a business to and here is the problem! I was thinking in doing an accunt table, that stores the email and password and the types of account.. but is not so solid this approach

You have a better idea? thanks


Some websites have a User table and a Role table and a UserRole table. The content shown to each visitor is then based on which roles the user belongs to. But there are several other ways to do this.

0

精彩评论

暂无评论...
验证码 换一张
取 消