Skip to content

Commit

Permalink
feat(invoices): typo
Browse files Browse the repository at this point in the history
  • Loading branch information
martijnvdbrug committed Aug 15, 2023
1 parent b68ed81 commit 5e532ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion packages/vendure-plugin-invoices/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ match with the requested order. If so, it will return the invoice.

## Increase invoice template DB storage

By default, the plugin uses TypeOrm's `text` to store the invoice template in the DB. This might not be enough, for example when you'd like to add base64 encoded images to your invoices. You can specify your DB engine with an env variable, and the plugin will resolve the correct column type:
By default, the plugin uses TypeOrm's `text` to store the invoice template in the DB. This might not be enough, for example when you'd like to add base64 encoded images to your invoices. This will result in the error `ER_DATA_TOO_LONG: Data too long for column 'templateString'`. You can specify your DB engine with an env variable, and the plugin will resolve the correct column type:

```shell
# E.g. For mysql the column type 'longtext' will be used, which supports up to 4gb
Expand Down

0 comments on commit 5e532ed

Please sign in to comment.