tqthy / Furniture-Store-Management-BE

1 stars 0 forks source link

Missing "paymentMethod" in Invoice entity #17

Closed tqthy closed 1 day ago

tqthy commented 1 day ago

I need it in order to implement feature getPaymentMethodStatistic and QR code payment

Tam-Vu commented 1 day ago

run this in local database to add column "paymentMethod" without losing created data: create type enum_Invoice_paymentMethod as enum ('Cash', 'QR code'); ALTER TABLE "Invoice" ADD COLUMN "paymentMethod" enum_Invoice_paymentMethod;