-
Notifications
You must be signed in to change notification settings - Fork 36
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
create a new user after creating a fresh db (#672)
* crate a new user after creating a fresh db Signed-off-by: Ahmad <ahmedwahid16101@gmail.com> * made db_user as an optional param for make command Signed-off-by: Ahmad <ahmedwahid16101@gmail.com> * grant the required privileges to the new user Signed-off-by: Ahmad <ahmedwahid16101@gmail.com> * create user if doesn't exist, and assign permissions Signed-off-by: Ahmad <ahmedwahid16101@gmail.com> * removed unwanted line Signed-off-by: Ahmad <ahmedwahid16101@gmail.com> * checks for creating and dropping db Signed-off-by: Ahmad <ahmedwahid16101@gmail.com> * replace exit by return and then use exit in the main script Signed-off-by: Ahmad <ahmedwahid16101@gmail.com> * removed exit from internal functions Signed-off-by: Ahmad <ahmedwahid16101@gmail.com> --------- Signed-off-by: Ahmad <ahmedwahid16101@gmail.com> Co-authored-by: Nicolas Höning <nicolas@seita.nl>
- Loading branch information
1 parent
4b963f5
commit aecb395
Showing
3 changed files
with
83 additions
and
15 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters