1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-06-30 00:41:50 +00:00
seafile-server/scripts/upgrade/win32/py/upgrade_1.7_1.8.py

18 lines
305 B
Python
Raw Normal View History

2016-08-10 06:53:33 +00:00
# coding: UTF-8
from upgrade_common import upgrade_db
def main():
try:
upgrade_db('1.8.0')
except Exception, e:
print 'Error:\n', e
else:
print '\ndone\n'
finally:
print '\nprint ENTER to exit\n'
raw_input()
if __name__ == '__main__':
main()