Skip to content

Commit 420c0f1

Browse files
authored
Merge pull request #108 from cloudgraphdev/fix/remove-schema-drop
fix(dgraph): remove the dropping of dgraph schema for now
2 parents 03f682c + bacca46 commit 420c0f1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/commands/scan.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ export default class Scan extends Command {
246246
if (storageEngine instanceof DgraphEngine) {
247247
await storageEngine.validateSchema(schema, dataFolder)
248248
}
249-
await storageEngine.dropAll() // Delete schema before change it
249+
// await storageEngine.dropAll() // Delete schema before change it
250250
await storageEngine.setSchema(schema)
251251
} catch (error: any) {
252252
this.logger.error(

0 commit comments

Comments
 (0)