Skip to content

Commit c36dd47

Browse files
committed
[Configs]: Test and dev SQL db setup scripts adjusted to check if db exists
1 parent c3a2331 commit c36dd47

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

configurations/setup_dev_db.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
DROP DATABASE IF EXISTS schub;
12
CREATE DATABASE IF NOT EXISTS schub;
23
CREATE USER IF NOT EXISTS "schub_dev"@"localhost" IDENTIFIED BY "schub_dev_pwd";
34
GRANT ALL PRIVILEGES ON schub.* TO "schub_dev"@"localhost";

configurations/setup_test_db.sql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
1+
DROP DATABASE IF EXISTS schub_test_db;
12
CREATE DATABASE IF NOT EXISTS schub_test_db;
23
CREATE USER IF NOT EXISTS "schub_test"@"localhost" IDENTIFIED BY "schub_test_pwd";
34
GRANT ALL PRIVILEGES ON schub_test_db.* TO "schub_test"@"localhost";

0 commit comments

Comments
 (0)