-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathinitialize.sh
More file actions
executable file
·19 lines (18 loc) · 1.02 KB
/
initialize.sh
File metadata and controls
executable file
·19 lines (18 loc) · 1.02 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
#!/bin/bash
# Run SQL script inside the MySQL container
mysql -u root -ppassword -h localhost < initialize.sql
mysql -u root -ppassword -h localhost nexus_db < individual.sql
mysql -u root -ppassword -h localhost nexus_db < organization.sql
mysql -u root -ppassword -h localhost nexus_db < account.sql
mysql -u root -ppassword -h localhost nexus_db < app_feedback.sql
mysql -u root -ppassword -h localhost nexus_db < photo.sql
mysql -u root -ppassword -h localhost nexus_db < preference.sql
mysql -u root -ppassword -h localhost nexus_db < like.sql
mysql -u root -ppassword -h localhost nexus_db < match.sql
mysql -u root -ppassword -h localhost nexus_db < incompatible.sql
mysql -u root -ppassword -h localhost nexus_db < message.sql
mysql -u root -ppassword -h localhost nexus_db < job.sql
mysql -u root -ppassword -h localhost nexus_db < job_application.sql
mysql -u root -ppassword -h localhost nexus_db < skill.sql
mysql -u root -ppassword -h localhost nexus_db < interest.sql
mysql -u root -ppassword -h localhost nexus_db < work_history.sql