~azzar1/unity/add-show-desktop-key

« back to all changes in this revision

Viewing changes to userdb/users.sql

  • Committer: stevenbird
  • Date: 2008-02-04 04:22:44 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:400
first commit of homepage at ivle.sourceforge.net, including screenshots; just web-presence at this stage

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
CREATE TABLE login (
 
2
    login       VARCHAR UNIQUE NOT NULL,
2
3
    loginid     SERIAL PRIMARY KEY NOT NULL,
3
 
    login       VARCHAR UNIQUE NOT NULL,
4
4
    passhash    VARCHAR,
5
 
    state       VARCHAR NOT NULL CHECK (state in ('no_agreement', 'pending',
6
 
                                              'enabled', 'disabled')),
7
 
    rolenm      VARCHAR NOT NULL CHECK (rolenm in ('guest', 'student',
8
 
                                                   'tutor', 'lecturer',
9
 
                                                   'admin')),
10
 
    unixid      INT UNIQUE NOT NULL, -- unix user id
11
 
    nick        VARCHAR NOT NULL,
12
 
    pass_exp    TIMESTAMP,
13
 
    acct_exp    TIMESTAMP,
14
 
    last_login  TIMESTAMP,
15
 
    email       VARCHAR,
16
 
    fullname    VARCHAR NOT NULL,
 
5
    nick        VARCHAR,
 
6
    fullname    VARCHAR,
 
7
    rolenm      VARCHAR,
17
8
    studentid   VARCHAR -- may be null
18
9
);
19
10