Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- create table "Item"
- (
- "Name" VARCHAR(254) PRIMARY KEY
- );
- CREATE TABLE "Uses" --new table
- (
- id SERIAL PRIMARY KEY NOT NULL,
- "itemName" VARCHAR(254) NOT NULL,
- FOREIGN KEY ("itemName") REFERENCES "Item" ("Name")
- );
Add Comment
Please, Sign In to add comment