Changeset 910 for pykota/trunk/initscripts
- Timestamp:
- 04/14/03 21:58:59 (22 years ago)
- Files:
-
- 1 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 --