Show
Ignore:
Timestamp:
09/17/05 16:29:43 (19 years ago)
Author:
jerome
Message:

Upgraded database schema.
Added -i | --ingroups command line option to repykota.
Added -C | --comment command line option to edpykota.
Added 'noquota', 'noprint', and 'nochange' as switches for edpykota's
-l | --limitby command line option.
Severity : entirely new features, in need of testers :-)

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • pykota/trunk/initscripts/postgresql/upgrade-to-1.23.sql

    r2342 r2452  
    2222-- 
    2323-- This script has to be used if you already 
    24 -- have a pre-1.23alpha12 version of PyKota to upgrade 
     24-- have a pre-1.23alpha30 version of PyKota to upgrade 
    2525-- your database schema.  
    2626-- 
     
    3434ALTER TABLE groups ADD COLUMN description TEXT; 
    3535ALTER TABLE userpquota ADD COLUMN maxjobsize INT4; 
    36 ALTER TABLE userpquota ADD COLUMN temporarydenied BOOLEAN; 
    37 ALTER TABLE userpquota ALTER COLUMN temporarydenied SET DEFAULT 'f'; 
    3836ALTER TABLE grouppquota ADD COLUMN maxjobsize INT4; 
    3937ALTER TABLE printers ADD COLUMN maxjobsize INT4; 
     
    4240ALTER TABLE jobhistory ADD COLUMN precomputedjobsize INT4; 
    4341ALTER TABLE jobhistory ADD COLUMN precomputedjobprice FLOAT; 
     42ALTER TABLE payments ADD COLUMN description TEXT; 
     43 
     44ALTER TABLE userpquota DROP COLUMN temporarydenied; 
    4445 
    4546-- 
     
    4748-- 
    4849-- Just to be sure 
    49 UPDATE userpquota SET temporarydenied='f'; 
    5050UPDATE printers SET passthrough='f'; 
    5151