From d1362a8d116ea6d5a36f33625b86ee3793fc1662 Mon Sep 17 00:00:00 2001 From: Sean Date: Fri, 24 Mar 2023 11:04:15 +0100 Subject: Edit views.sql --- dbinit/makefile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'dbinit/makefile') diff --git a/dbinit/makefile b/dbinit/makefile index bd24efd..d412570 100644 --- a/dbinit/makefile +++ b/dbinit/makefile @@ -3,7 +3,7 @@ USER = $(shell id -un) HOST = localhost .PHONY: clean permissions init data procedures full -all:full.sql + # delete old tables and create new tables init: base.sql $(SQL) < $< @@ -31,7 +31,7 @@ data.sql: # grant all database permissions (development only) permissions: - echo "grant all privileges on formula1.* to '$(USER)'@'$(HOST)';" | sudo $(SQL) + echo "grant all privileges on formula1.* to '$(USER)'@'$(HOST)';" # delete generated sql files clean: -- cgit v1.2.3