Created
March 16, 2015 15:45
-
-
Save mattias-lidman/146ed478163dda4e0981 to your computer and use it in GitHub Desktop.
Revisions
-
mattias-lidman created this gist
Mar 16, 2015 .There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,11 @@ sudo cp migrate_to_sql.py /mnt/globus_deploy/apps/nexus/current/graph/lib/python2.7/site-packages/globusonline-RELEASE_2011_06_06-py2.7.egg/globusonline/graph/admin/migrate_to_sql.py from globusonline.graph.admin.migrate_to_sql import clear_sql_db, initialize_sql_db, migrate_to_sql from globusonline.graph.sql import SQLManager, Base sql_manager = SQLManager() clear_sql_db(sql_manager.engine(), Base) initialize_sql_db(sql_manager.engine(), Base) migrate_to_sql(request.data_store, sql_manager.session(), request.crypto, request.config)