From 885467886847524f67e73a5f8accd89509a71766 Mon Sep 17 00:00:00 2001 From: Dan Fabulich Date: Tue, 3 Sep 2024 11:58:41 -0700 Subject: [PATCH] Add a script to query the docker DB --- CONTRIBUTING.md | 4 ++++ IFComp-Dev/script/query-db.sh | 3 +++ 2 files changed, 7 insertions(+) create mode 100755 IFComp-Dev/script/query-db.sh diff --git a/CONTRIBUTING.md b/CONTRIBUTING.md index 1925ea7d..74021d5b 100644 --- a/CONTRIBUTING.md +++ b/CONTRIBUTING.md @@ -36,6 +36,10 @@ There are a number of convenience scripts in `IFcomp-Dev/script` as well. * shell.sh This script will get you a bash shell in the app instance. + + * query-db.sh + + This script will allow you to query the MySQL database. * tidyall.sh diff --git a/IFComp-Dev/script/query-db.sh b/IFComp-Dev/script/query-db.sh new file mode 100755 index 00000000..24b9daff --- /dev/null +++ b/IFComp-Dev/script/query-db.sh @@ -0,0 +1,3 @@ +#!/bin/sh + +docker compose exec db mysql ifcomp