Skip to content
Snippets Groups Projects
Commit 9964f5a0 authored by Adriaan Renting's avatar Adriaan Renting
Browse files

Task #8580: updated the Resource Allocation Database scripts to add schemas.

parent f722bd47
No related branches found
No related tags found
No related merge requests found
......@@ -144,7 +144,7 @@ ALTER TABLE resource_claim_status
CREATE TABLE resource_allocation.resource_claim (
id serial NOT NULL,
resource_id integer NOT NULL REFERENCES virtual_instrument.resource DEFERRABLE INITIALLY IMMEDIATE,
task_id integer NOT NULL REFERENCES resource_allocation.task DEFERRABLE INITIALLY IMMEDIATE ON DELETE CASCADE,
task_id integer NOT NULL REFERENCES resource_allocation.task ON DELETE CASCADE DEFERRABLE INITIALLY IMMEDIATE,
starttime timestamp NOT NULL,
endtime timestamp NOT NULL,
status_id integer NOT NULL REFERENCES resource_allocation.resource_claim_status DEFERRABLE INITIALLY IMMEDIATE,
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment