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

« back to all changes in this revision

Viewing changes to userdb/users.sql

  • Committer: me at id
  • Date: 2009-01-15 05:45:05 UTC
  • mto: This revision was merged to the branch mainline in revision 1090.
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:branches%2Fstorm:1160
ivle.database.User: Order 'enrolments' the same way as 'active_enrolments'.

Show diffs side-by-side

added added

removed removed

Lines of Context:
5
5
    login       VARCHAR UNIQUE NOT NULL,
6
6
    passhash    VARCHAR,
7
7
    state       VARCHAR NOT NULL CHECK (state in ('no_agreement', 'pending',
8
 
                                              'enabled', 'disabled'))
9
 
                                 DEFAULT 'no_agreement',
 
8
                                              'enabled', 'disabled')),
10
9
    rolenm      VARCHAR NOT NULL CHECK (rolenm in ('anyone', 'student',
11
10
                                                   'marker', 'tutor',
12
11
                                                   'lecturer', 'admin')),