From 9704c9ee5a7689cc2faed53d80c57481c69bcde6 Mon Sep 17 00:00:00 2001 From: Rajesh Rajendran Date: Sat, 4 Dec 2021 20:21:44 +0530 Subject: [PATCH] chore(upgrade): Support enterprise data migration Signed-off-by: Rajesh Rajendran --- scripts/helm/upgrade.sh | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/scripts/helm/upgrade.sh b/scripts/helm/upgrade.sh index 5b2123f0e..3a5df210a 100644 --- a/scripts/helm/upgrade.sh +++ b/scripts/helm/upgrade.sh @@ -79,6 +79,11 @@ patch(){ patch installation_type=1 +if [[ ${ENTERPRISE} -eq 1 ]]; then + cp -rf ../../ee/scripts/helm/db/* db/ + echo -e "Migrating clickhouse" + migration clickhouse +fi echo -e "Migrating postgresql" migration postgresql