Commit cc22e8b5 authored by Laurent Peuch's avatar Laurent Peuch
Browse files

fix(migractions): don't use notification hooks during postcreate

This fixes #260
parent a0bcf0618479
Pipeline #37694 passed with stage
in 1 minute and 33 seconds
......@@ -349,7 +349,7 @@ class ServerMigrationHelper(MigrationHelper):
self.execscript_confirm = yes
try:
if event == 'postcreate':
with self.cnx.allow_all_hooks_but():
with self.cnx.allow_all_hooks_but('notification'):
return self.cmd_process_script(apc, funcname, *args, **kwargs)
return self.cmd_process_script(apc, funcname, *args, **kwargs)
finally:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment