[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/2417/head
parent
15a3e6c6bd
commit
e55ef6c7a9
|
@ -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