Changeset 910
- Timestamp:
- 04/14/03 21:58:59 (22 years ago)
- Location:
- pykota/trunk
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/initscripts/pykota-postgresql.sql
r900 r910 20 20 -- 21 21 -- $Log$ 22 -- Revision 1.11 2003/04/14 19:58:59 jalet 23 -- New database schema for users' account balance 24 -- 22 25 -- Revision 1.10 2003/04/10 21:47:20 jalet 23 26 -- Job history added. Upgrade script neutralized for now ! … … 84 87 -- 85 88 CREATE TABLE users(id SERIAL PRIMARY KEY NOT NULL, 86 username TEXT UNIQUE NOT NULL); 89 username TEXT UNIQUE NOT NULL, 90 balance FLOAT DEFAULT 0.0, 91 lieftimepaid FLOAT DEFAULT 0.0, 92 limitby TEXT DEFAULT 'quota'); 87 93 88 94 -- … … 96 102 -- 97 103 CREATE TABLE printers(id SERIAL PRIMARY KEY NOT NULL, 98 printername TEXT UNIQUE NOT NULL); 104 printername TEXT UNIQUE NOT NULL, 105 priceperpage FLOAT DEFAULT 0.0, 106 priceperjob FLOAT DEFAULT 0.0); 99 107 100 108 -- -
pykota/trunk/NEWS
r909 r910 28 28 The upgrade script will be finalized ASAP, be patient, 29 29 or drop your old quota database to start anew. 30 31 - The new database schema allows to keep an history of all 32 jobs as well as charge users per page and/or per job, 33 and track users' account balance. 30 34 31 35 - The installation script now allows to install the sample