From 7c65aae037a2e6c8cb7e914d569f242276dbaa5c Mon Sep 17 00:00:00 2001 From: eisbilir Date: Tue, 20 Jul 2021 00:34:20 +0300 Subject: [PATCH] update billingAccountId mapping --- src/scripts/createIndex.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/scripts/createIndex.js b/src/scripts/createIndex.js index 1cb89ce..88b10e3 100644 --- a/src/scripts/createIndex.js +++ b/src/scripts/createIndex.js @@ -106,7 +106,7 @@ async function createIndex () { memberRate: { type: 'float' }, customerRate: { type: 'float' }, rateType: { type: 'keyword' }, - billingAccountId: { type: 'integer' }, + billingAccountId: { type: 'integer', null_value: 0 }, workPeriods: { type: 'nested', properties: {