- Timestamp:
- 05/09/08 12:34:30 (5 months ago)
- Files:
-
- 1 modified
Legend:
- Unmodified
- Added
- Removed
-
branches/rel_1_2/Open-ILS/src/sql/Pg/080.schema.money.sql
r8052 r9543 7 7 CREATE TABLE money.collections_tracker ( 8 8 id BIGSERIAL PRIMARY KEY, 9 usr INT NOT NULL REFERENCES actor.usr (id) , -- actor.usr.id10 collector INT NOT NULL REFERENCES actor.usr (id) ,11 location INT NOT NULL REFERENCES actor.org_unit (id) ,9 usr INT NOT NULL REFERENCES actor.usr (id) DEFERRABLE INITIALLY DEFERRED, -- actor.usr.id 10 collector INT NOT NULL REFERENCES actor.usr (id) DEFERRABLE INITIALLY DEFERRED, 11 location INT NOT NULL REFERENCES actor.org_unit (id) DEFERRABLE INITIALLY DEFERRED, 12 12 enter_time TIMESTAMP WITH TIME ZONE 13 13 ); … … 286 286 287 287 CREATE TABLE money.bnm_desk_payment ( 288 cash_drawer INT REFERENCES actor.workstation (id) 288 cash_drawer INT REFERENCES actor.workstation (id) DEFERRABLE INITIALLY DEFERRED 289 289 ) INHERITS (money.bnm_payment); 290 290 ALTER TABLE money.bnm_desk_payment ADD PRIMARY KEY (id);
