mysql - Should I name the username field in my user table "name" or "username"? -


If I give it a username, then I have to type user_username when I can write user_name when referring to my field. His name is "Name". On the other hand, the user name is more suitable than the name.

Can someone help me make a decision?

You should call it usernames .

field name (or user_name if you prefix all fields with the table name) is vague because it's their real The name may be different, which is usually different from their username.

Comments