improve output of ./update.py database, fixes #1325

This commit is contained in:
j 2013-03-01 06:50:09 +00:00
parent 5a5f3078eb
commit 73cd5dbaa0

View file

@ -28,6 +28,7 @@ if __name__ == "__main__":
os.chdir(join(base, 'pandora'))
if get('./manage.py', 'south_installed').strip() == 'yes':
run('./manage.py', 'syncdb')
print '\nRunning "./manage.py migrate"\n'
run('./manage.py', 'migrate')
run('./manage.py', 'sync_itemsort')
else: