Changeset 2342 for pykota/trunk/initscripts
- Timestamp:
- 07/06/05 20:11:00 (19 years ago)
- Location:
- pykota/trunk/initscripts/postgresql
- Files:
-
- 2 modified
Legend:
- Unmodified
- Added
- Removed
-
pykota/trunk/initscripts/postgresql/pykota-postgresql.sql
r2318 r2342 171 171 -- 172 172 CREATE TABLE billingcodes (id SERIAL PRIMARY KEY NOT NULL, 173 labelTEXT UNIQUE NOT NULL,173 billingcode TEXT UNIQUE NOT NULL, 174 174 description TEXT, 175 175 balance FLOAT DEFAULT 0.0, -
pykota/trunk/initscripts/postgresql/upgrade-to-1.23.sql
r2318 r2342 58 58 balance FLOAT DEFAULT 0.0, 59 59 pagecounter INT4 DEFAULT 0); 60 ALTER TABLE billingcodes RENAME COLUMN label TO billingcode; 60 61 61 62 REVOKE ALL ON billingcodes FROM public; … … 64 65 GRANT SELECT, UPDATE ON billingcodes_id_seq TO pykotaadmin; 65 66 GRANT SELECT ON billingcodes TO pykotauser; 67 68