@click.command('switch-to-v4')
@click.option('--upgrade', is_flag=True)
def switch_to_v4(upgrade=False):
 from bench.app import switch_to_v4
 switch_to_v4(upgrade=upgrade)
 print
 print 'Switched to v4'
 print 'Please run `bench update --patch` to be safe from any differences in database schema'

@ click . command ( 'switch-to-v4' ) @ click . option ( '--upgrade' , is_flag = True ) def switch_to_v4 ( upgrade = False ) : from bench . app import switch_to_v4 switch_to_v4 ( upgrade = upgrade ) print print 'Switched to v4' print 'Please run `bench update --patch` to be safe from any differences in database schema'
switch frappe and erpnext to v4 branch .