Forked from mattias-lidman/gist:146ed478163dda4e0981
Last active
August 29, 2015 14:17
-
-
Save bjmc/a7f86fcceb7f03b06770 to your computer and use it in GitHub Desktop.
This file contains 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 characters
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) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment