Skip to content

Commit

Permalink
Rename manage_db.sh to manage_toolshed_db.sh. Limit to TS operations.
Browse files Browse the repository at this point in the history
Becuase everything else is handled via db.sh or run_alembic.sh
  • Loading branch information
jdavcs committed Sep 16, 2022
1 parent dc89cf2 commit 3685044
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 50 deletions.
50 changes: 0 additions & 50 deletions manage_db.sh

This file was deleted.

14 changes: 14 additions & 0 deletions manage_toolshed_db.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
#!/bin/sh

#######
# Use this script to manage Tool Shed database migrations.
# NOTE: If your database is empty, use create_toolshed_db.sh instead.
#######

cd "$(dirname "$0")" || exit

. ./scripts/common_startup_functions.sh

setup_python

python ./scripts/migrate_toolshed_db.py "$@" tool_shed

0 comments on commit 3685044

Please sign in to comment.