this is my invoice table:
Invoice Table:
invoice_id
creation_date
due_date
payment_date
status
enum('not paid','paid','expired')
user_id
total_price
I wonder if it's Useful to have a payment table in order to record user payments for invoices.
payment table can be like this:
payment_id
payment_date
invoice_id
price_paid
status
enum('successful', 'not successful')