-
Notifications
You must be signed in to change notification settings - Fork 910
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #10 from carlosbuenosvinos/master
Add db_setup.sh for those who have Unix + use TEXT not VARCHAR(65000)
- Loading branch information
Showing
4 changed files
with
35 additions
and
2 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
#!/bin/bash | ||
# ------------------------------------------- | ||
# IDDD collaboration views database setup | ||
# ------------------------------------------- | ||
|
||
echo Creating IDDD Collaboration Event Store and Views database... | ||
mysql -u root -p < collaboration.sql | ||
|
||
echo Completed |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
# ------------------------------------------- | ||
# IDDD Common database setup | ||
# ------------------------------------------- | ||
|
||
echo Creating IDDD Common test database... | ||
cat test_common.sql > create_test_common.sql | ||
cat common.sql >> create_test_common.sql | ||
mysql -u root -p < create_test_common.sql | ||
rm -f create_test_common.sql | ||
|
||
echo Completed |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash | ||
# ------------------------------------------- | ||
# IDDD IdentityAccess database setup | ||
# ------------------------------------------- | ||
|
||
echo Creating IDDD IdentityAccess database... | ||
cat iam.sql > create_iam.sql | ||
cat ../../../../iddd_common/src/main/mysql/common.sql >> create_iam.sql | ||
mysql -u root -p < create_iam.sql | ||
rm -f create_iam.sql | ||
|
||
echo Completed |