mirror of
https://github.com/frappe/bench.git
synced 2025-01-26 16:08:23 +00:00
[temp] moved migrate_to_v5
This commit is contained in:
parent
253f72fba3
commit
2d716f261d
@ -502,9 +502,9 @@ def validate_upgrade(from_ver, to_ver, bench='.'):
|
|||||||
raise Exception("Please install nodejs and npm")
|
raise Exception("Please install nodejs and npm")
|
||||||
|
|
||||||
def pre_upgrade(from_ver, to_ver, bench='.'):
|
def pre_upgrade(from_ver, to_ver, bench='.'):
|
||||||
from .migrate_to_v5 import remove_shopping_cart
|
|
||||||
pip = os.path.join(bench, 'env', 'bin', 'pip')
|
pip = os.path.join(bench, 'env', 'bin', 'pip')
|
||||||
if from_ver <= 4 and to_ver >= 5:
|
if from_ver <= 4 and to_ver >= 5:
|
||||||
|
from .migrate_to_v5 import remove_shopping_cart
|
||||||
apps = ('frappe', 'erpnext')
|
apps = ('frappe', 'erpnext')
|
||||||
remove_shopping_cart(bench=bench)
|
remove_shopping_cart(bench=bench)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user