From bacca460cff9a1bbd147ba866cfd4cb682824204 Mon Sep 17 00:00:00 2001 From: Tyler Dunkel Date: Wed, 14 Dec 2022 12:44:33 -0600 Subject: [PATCH] fix(dgraph): remove the dropping of dgraph schema for now --- src/commands/scan.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/commands/scan.ts b/src/commands/scan.ts index bc73701..8021470 100644 --- a/src/commands/scan.ts +++ b/src/commands/scan.ts @@ -246,7 +246,7 @@ export default class Scan extends Command { if (storageEngine instanceof DgraphEngine) { await storageEngine.validateSchema(schema, dataFolder) } - await storageEngine.dropAll() // Delete schema before change it + // await storageEngine.dropAll() // Delete schema before change it await storageEngine.setSchema(schema) } catch (error: any) { this.logger.error(