From 37f9c2a9a43adbcfce192ea1048045d552526025 Mon Sep 17 00:00:00 2001 From: Alexis G Date: Wed, 10 Apr 2024 11:17:55 +0200 Subject: [PATCH] feat: Add `taxNumber` to migration script We have this metadata on tax documents --- src/helpers/migration/metadata.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/helpers/migration/metadata.js b/src/helpers/migration/metadata.js index db21e0d7..de62215a 100644 --- a/src/helpers/migration/metadata.js +++ b/src/helpers/migration/metadata.js @@ -19,7 +19,8 @@ const OLD_METADATA_ATTRIBUTES = [ 'cardNumber', 'vinNumber', 'ibanNumber', - 'passportNumber' + 'passportNumber', + 'taxNumber' ] const NEW_METADATA_ATTRIBUTE = 'number'