Changeset 9542 for trunk/Open-ILS/src/sql/Pg/080.schema.money.sql
- Timestamp:
- 05/09/08 12:31:09 (2 months ago)
- Files:
-
- 1 modified
-
trunk/Open-ILS/src/sql/Pg/080.schema.money.sql (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/Open-ILS/src/sql/Pg/080.schema.money.sql
r7945 r9542 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 ); … … 325 325 326 326 CREATE TABLE money.bnm_desk_payment ( 327 cash_drawer INT REFERENCES actor.workstation (id) 327 cash_drawer INT REFERENCES actor.workstation (id) DEFERRABLE INITIALLY DEFERRED 328 328 ) INHERITS (money.bnm_payment); 329 329 ALTER TABLE money.bnm_desk_payment ADD PRIMARY KEY (id);
