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

  • Committer: mattgiuca
  • Date: 2008-07-07 05:59:07 UTC
  • Revision ID: svn-v3-trunk0:2b9c9e99-6f39-0410-b283-7f802c844ae2:trunk:816
users.sql: Updated database schema; split subject and offering tables.

Need to manually apply the following commands to being the database up to
date. Note that this will wipe all data in your "offering" table - which
shouldn't matter because IVLE has never used this table to date.

CREATE TABLE subject (                                                               
    subjectid       SERIAL PRIMARY KEY NOT NULL,
    subj_code       VARCHAR UNIQUE NOT NULL,
    subj_name       VARCHAR NOT NULL,
    subj_short_name VARCHAR,    -- may be null
    url             VARCHAR
);

DELETE FROM offering;
ALTER TABLE offering DROP COLUMN subj_code;
ALTER TABLE offering DROP COLUMN subj_name;
ALTER TABLE offering DROP COLUMN url;
ALTER TABLE offering ADD COLUMN subject
    INT4 REFERENCES subject (subjectid) NOT NULL;
Filename Latest Rev Last Changed Committer Comment Size
..
doc 1 17 years ago drtomc An initial checkin. Diff
exercises 512 16 years ago stevenbird Renaming of problems to exercises (initial commit) Diff
file-tools 405 17 years ago drtomc Version 0 of the file manipulation tools to allow Diff
home 400 17 years ago stevenbird first commit of homepage at ivle.sourceforge.net, Diff
lib 409 17 years ago mattgiuca Moved www/conf and www/common to a new directory l Diff
platform 1 17 years ago drtomc An initial checkin. Diff
prototypes 9 17 years ago mattgiuca Added prototypes directory. Added ajax file browse Diff
scripts 418 17 years ago mattgiuca Renamed trunk/console to trunk/scripts. We are now Diff
setup 803 16 years ago dcoles Setup: Modularised setup.py so it is now no longer Diff
subjects 313 17 years ago mattgiuca test/test_framework: Updated examples, a bit of be Diff
test 201 17 years ago mattgiuca Added "test" directory. Added make_date_test.py, a Diff
timount 813 16 years ago William Grant Merge jails-redux branch. We now use aufs rather t Diff
trampoline 144 17 years ago mattgiuca Trunk, and all subdirectories with Python files: Diff
userdb 25 17 years ago drtomc A bit more work on the userdb stuff. Diff
www 144 17 years ago mattgiuca Trunk, and all subdirectories with Python files: Diff
File buildjail.sh 812 16 years ago dcoles Setup: Now checks if debootstrap is not installed 3.2 KB Diff Download File
insert_exercise.py 659 16 years ago drtomc Add a little script for stuffing exercises into th 759 bytes Diff Download File
LICENSE.txt 7 17 years ago stevenbird GPL license 17.5 KB Diff Download File
File listusers.py 754 16 years ago mattgiuca listusers.py: Added options processing (now accept 1.9 KB Diff Download File
Makefile 813 16 years ago William Grant Merge jails-redux branch. We now use aufs rather t 324 bytes Diff Download File
File makeuser.py 642 16 years ago dcoles makeuser.py: Needs to import random 3.2 KB Diff Download File
File marks.py 736 16 years ago mattgiuca Added new script "marks.py" which computes the mar 6 KB Diff Download File
File mountallusers.py 813 16 years ago William Grant Merge jails-redux branch. We now use aufs rather t 3 KB Diff Download File
File remakeallusers.py 813 16 years ago William Grant Merge jails-redux branch. We now use aufs rather t 2.3 KB Diff Download File
File remakeuser.py 636 16 years ago drtomc remakeuser: use the database, not the password fil 1.9 KB Diff Download File
File setup.py 804 16 years ago dcoles Setup: To go with last revision - Now just a front 2.9 KB Diff Download File