Skip to content

Commit

Permalink
fix(dgraph): remove the dropping of dgraph schema for now
Browse files Browse the repository at this point in the history
  • Loading branch information
tyler-dunkel committed Dec 14, 2022
1 parent 03f682c commit bacca46
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/commands/scan.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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(
Expand Down

0 comments on commit bacca46

Please sign in to comment.