Guest User

Untitled

a guest
Apr 21st, 2018
82
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. CREATE TABLE 'baza3_development'.'purchases'(
  2. 'id' int not null auto_increment,
  3. 'item_id' int not null,
  4. 'quantity' int not null default 0,
  5. 'price' decimal(8,2) not null,
  6. CONSTRAINT 'purchases_items' FOREIGN KEY ('item_id') REFERENCES 'items' ('id')
  7. );
Add Comment
Please, Sign In to add comment