From c277e9937115cc1473219a04199566c7bfdcbaf7 Mon Sep 17 00:00:00 2001 From: niliara-edu Date: Tue, 21 Jan 2025 15:52:44 +0100 Subject: get, post, put, delete covered --- scripts/fast_populate.sh | 8 ++++++++ 1 file changed, 8 insertions(+) create mode 100644 scripts/fast_populate.sh (limited to 'scripts/fast_populate.sh') diff --git a/scripts/fast_populate.sh b/scripts/fast_populate.sh new file mode 100644 index 0000000..ab83ab7 --- /dev/null +++ b/scripts/fast_populate.sh @@ -0,0 +1,8 @@ +echo "use sudo? [y/n]" +read answer + +if [[ $answer == 'y' ]] then + sudo="sudo" +fi + +$sudo mariadb -u root < ./scripts/fast_populate.sql -- cgit v1.2.3