1
0
mirror of https://github.com/haiwen/seafile-server.git synced 2025-09-01 15:36:37 +00:00

Initial commit of Seafile server core.

This commit is contained in:
Jiaqiang Xu
2016-08-10 14:53:33 +08:00
commit 2643119433
352 changed files with 85573 additions and 0 deletions

View File

@@ -0,0 +1,19 @@
# coding: UTF-8
from upgrade_common import upgrade_db
from add_collate import upgrade_collate
def main():
try:
upgrade_db('2.0.0')
upgrade_collate()
except Exception, e:
print 'Error:\n', e
else:
print '\ndone\n'
finally:
print '\nprint ENTER to exit\n'
raw_input()
if __name__ == '__main__':
main()