aboutsummaryrefslogtreecommitdiff
path: root/migrations/auth/20221110_07_7WGa1-create-role-privileges-table.py
diff options
context:
space:
mode:
authorFrederick Muriuki Muriithi2023-04-04 10:07:03 +0300
committerFrederick Muriuki Muriithi2023-04-05 14:51:04 +0300
commit3d873435f0d464864d4d691d6be4db40931fac05 (patch)
tree7d311b19234d46d3a0e75ee6404b64cdfc0ee84b /migrations/auth/20221110_07_7WGa1-create-role-privileges-table.py
parent87b439265ad44b90742e69a992e2fd66fdc48c49 (diff)
downloadgenenetwork3-3d873435f0d464864d4d691d6be4db40931fac05.tar.gz
Enable use of `database_connection` in scripts without current_app
There is need to run external scripts using the same configurations as the application but without the need to couple the script to the application. In this case, we provide the needed configuration directly in the CLI, and modify the existing `gn3.db_utils.database_connection` function to allow it to work coupled to the app or otherwise.
Diffstat (limited to 'migrations/auth/20221110_07_7WGa1-create-role-privileges-table.py')
0 files changed, 0 insertions, 0 deletions