aboutsummaryrefslogtreecommitdiff
path: root/dbinit/makefile
diff options
context:
space:
mode:
authorlonkaars <loek@pipeframe.xyz>2023-03-24 13:48:52 +0100
committerlonkaars <loek@pipeframe.xyz>2023-03-24 13:48:52 +0100
commita48660843cc0191b62865b54f29bd9b230589a5e (patch)
tree071f520c8ccc6caa0a209a2f812e210668f5d0dd /dbinit/makefile
parentedbdc5e5893802e74b7d8043f7e1817f77ac1c3a (diff)
implement `spUpdateFlags`
Diffstat (limited to 'dbinit/makefile')
-rw-r--r--dbinit/makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/dbinit/makefile b/dbinit/makefile
index 9e5d5d4..76f867f 100644
--- a/dbinit/makefile
+++ b/dbinit/makefile
@@ -33,7 +33,8 @@ data.sql:
# grant all database permissions (development only)
permissions:
- echo "grant all privileges on formula1.* to '$(USER)'@'$(HOST)';"
+ echo "grant all privileges on formula1.* to '$(USER)'@'$(HOST)';" | sudo $(SQL)
+ echo "grant file on *.* to '$(USER)'@'$(HOST)';" | sudo $(SQL)
# delete generated sql files
clean: