Guest User

Untitled

a guest
Dec 16th, 2017
76
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. create table "Item"
  2. (
  3. "Name" VARCHAR(254) PRIMARY KEY
  4. );
  5.  
  6. CREATE TABLE "Uses" --new table
  7. (
  8. id SERIAL PRIMARY KEY NOT NULL,
  9. "itemName" VARCHAR(254) NOT NULL,
  10. FOREIGN KEY ("itemName") REFERENCES "Item" ("Name")
  11. );
Add Comment
Please, Sign In to add comment