mysql - Difference between uid and unique id -


i learning login system in android, php, , mysql this tutorial.

i'm confused uid , uniquid_id. use of unique_id if has uid?

this mysql query has uid , unique_id looks like. can tell me difference , functions of uid , unique_id?

create table users( uid int(11) primary key auto_increment, unique_id varchar(23) not null unique, name varchar(50) not null, email varchar(100) not null unique, encrypted_password varchar(80) not null, salt varchar(10) not null, created_at datetime, updated_at datetime null );  

don't confused. names , not functions, have got one.

you cannot guess, expansion of uid. column names.

for example, uid might refer user id


Comments

Popular posts from this blog

android - Get AccessToken using signpost OAuth without opening a browser (Two legged Oauth) -

org.mockito.exceptions.misusing.InvalidUseOfMatchersException: mockito -

google shop client API returns 400 bad request error while adding an item -