Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- CREATE TABLE 'baza3_development'.'purchases'(
- 'id' int not null auto_increment,
- 'item_id' int not null,
- 'quantity' int not null default 0,
- 'price' decimal(8,2) not null,
- CONSTRAINT 'purchases_items' FOREIGN KEY ('item_id') REFERENCES 'items' ('id')
- );
Add Comment
Please, Sign In to add comment