Fix ResetCommand
This commit is contained in:
@@ -22,6 +22,7 @@ class ResetCommand : CliktCommand() {
|
||||
}
|
||||
|
||||
val schema = schemaFile.readText()
|
||||
.replace(Regex("""DEFINER\s*=\s*`[^`]+`@`[^`]+`\s*"""), "")
|
||||
|
||||
execute("SET FOREIGN_KEY_CHECKS=0;") { }
|
||||
|
||||
|
||||
Reference in New Issue
Block a user