Skip to content

Commit

Permalink
project ID foreign key reference
Browse files Browse the repository at this point in the history
  • Loading branch information
baijum committed Dec 21, 2014
1 parent 07e8ab7 commit 7bc5b87
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion scripts/pitracker-db/schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,8 @@ DROP TABLE IF EXISTS "item" CASCADE;
CREATE TABLE "item" (
id SERIAL PRIMARY KEY,
title TEXT,
description TEXT
description TEXT,
project_id BIGINT REFERENCES project(id)
);

DROP TABLE IF EXISTS "comment" CASCADE;
Expand Down

0 comments on commit 7bc5b87

Please sign in to comment.