1
0
Fork 0

Merge "invoice: bump year for new databases"

master
q3k 2021-01-19 18:59:41 +00:00 committed by Gerrit Code Review
commit f70b1be78b
1 changed files with 1 additions and 1 deletions

View File

@ -75,7 +75,7 @@ func (m *model) sealInvoice(ctx context.Context, uid, language string, useProfor
invoice_id, final_uid, sealed_time
) values (
?,
( select printf("%04d", ifnull( (select final_uid as v from invoice_seal order by final_uid desc limit 1), 20000) + 1 )),
( select printf("%04d", ifnull( (select final_uid as v from invoice_seal order by final_uid desc limit 1), 21000) + 1 )),
?
)
`