Guest User

Untitled

a guest
Dec 6th, 2016
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.22 KB | None | 0 0
  1. [invoices table]
  2. invoice_id
  3. ....
  4.  
  5. [invoice_items table]
  6. item_id
  7. invoice_id FK invoices(invoice_id)
  8. ....
  9.  
  10. [refunds table]
  11. refund_id
  12. invoice_id
  13. item_id
  14. ....
  15. FK invoices(invoice_id)
  16. FK invoice_items(invoice_id, item_id)
Add Comment
Please, Sign In to add comment