Use the correct integer literal for invoice_amount
PostgreSQL actually already casts the strings to integers, but best if everything is as it should.
This commit is contained in:
parent
a066726c2e
commit
86bf8765fc
|
@ -64,10 +64,10 @@ values (7, 1, 'Contact', 'XX555', '', '777-777-777', 'c@c', '', '', '', '', '',
|
||||||
;
|
;
|
||||||
|
|
||||||
insert into invoice (invoice_id, company_id, invoice_number, invoice_date, contact_id, currency_code, payment_method_id)
|
insert into invoice (invoice_id, company_id, invoice_number, invoice_date, contact_id, currency_code, payment_method_id)
|
||||||
values ( 8, 1, 'I1', current_date, 7, 'EUR', '111')
|
values ( 8, 1, 'I1', current_date, 7, 'EUR', 111)
|
||||||
, ( 9, 1, 'I2', current_date, 7, 'EUR', '111')
|
, ( 9, 1, 'I2', current_date, 7, 'EUR', 111)
|
||||||
, (10, 1, 'I3', current_date, 7, 'EUR', '111')
|
, (10, 1, 'I3', current_date, 7, 'EUR', 111)
|
||||||
, (11, 1, 'I4', current_date, 7, 'EUR', '111')
|
, (11, 1, 'I4', current_date, 7, 'EUR', 111)
|
||||||
;
|
;
|
||||||
|
|
||||||
insert into invoice_product (invoice_product_id, invoice_id, name, price, quantity, discount_rate)
|
insert into invoice_product (invoice_product_id, invoice_id, name, price, quantity, discount_rate)
|
||||||
|
|
Loading…
Reference in New Issue