[FIX] Other modules upgrade write file full path
Parentheses placement was wrong in other modules full_path that lead to create migrations on root of modulespull/2826/head
parent
390441f39e
commit
ceb26b0db9
|
@ -93,7 +93,7 @@ class UpgradeAnalysis(models.Model):
|
||||||
full_path = os.path.join(self.upgrade_path, module_name, version)
|
full_path = os.path.join(self.upgrade_path, module_name, version)
|
||||||
else:
|
else:
|
||||||
full_path = os.path.join(
|
full_path = os.path.join(
|
||||||
get_module_path(module_name, "migrations", version)
|
get_module_path(module_name), "migrations", version
|
||||||
)
|
)
|
||||||
if not os.path.exists(full_path):
|
if not os.path.exists(full_path):
|
||||||
try:
|
try:
|
||||||
|
|
Loading…
Reference in New Issue