a3df543e964484070a202af9f2da33b2f91e8a00 chinhli Mon Mar 26 15:48:46 2012 -0700 Inithial hgLogin work diff --git src/hg/hgLogin/gbMembers.sql src/hg/hgLogin/gbMembers.sql new file mode 100644 index 0000000..4448575 --- /dev/null +++ src/hg/hgLogin/gbMembers.sql @@ -0,0 +1,22 @@ +# gbMembers.sql was originally generated by the autoSql program, which also +# generated gbMembers.c and gbMembers.h. This creates the database representation of +# an object which can be loaded and saved from RAM in a fairly +# automatic way. + +# This sql was hacked to insert the datetime object, autoSql could not +# do that and added auto_increment to the idx field and index with userName + + +#UCSC Genome Browser members +CREATE TABLE gbMembers ( + idx int unsigned not null auto_increment, # auto-increment unique ID + userName varchar(255) not null, # Name used to login + realName varchar(255) not null, # Full name + password varchar(255) not null, # Encrypted password + email varchar(255) not null, # Email address + lastUse DATETIME not null, # Last date the user log in + activated char(1) not null, # Account activated? Y or N + dateAuthenticated DATETIME not null, # Date the account activated via email + #Indices + PRIMARY KEY(idx, userName) +);