diff options
| author | Thomas Hackl <hackl@data-quest.de> | 2025-08-05 14:22:48 +0200 |
|---|---|---|
| committer | Thomas Hackl <hackl@data-quest.de> | 2025-08-05 14:22:48 +0200 |
| commit | 58a43aa4175a088daa4f2d96f32874ed1a147a84 (patch) | |
| tree | 980bdf70389127874dd5789935db601dce9bdef8 /.gitlab | |
| parent | 5b794550b4fa0bc892d924088466bf0065ecf2d7 (diff) | |
Resolve "Neue Demodaten"
Closes #5779
Merge request studip/studip!4402
Diffstat (limited to '.gitlab')
| -rw-r--r-- | .gitlab/scripts/install_db.sh | 22 |
1 files changed, 7 insertions, 15 deletions
diff --git a/.gitlab/scripts/install_db.sh b/.gitlab/scripts/install_db.sh index b3d7111..6093942 100644 --- a/.gitlab/scripts/install_db.sh +++ b/.gitlab/scripts/install_db.sh @@ -14,24 +14,16 @@ importSQLFile() { if [ $(mysql -u $MYSQL_USER -h $MYSQL_HOST -p$MYSQL_PASSWORD $MYSQL_DATABASE -e "show tables;" --batch | wc -l) -eq 0 ]; then - # Setup mysql database - echo "INSTALL DB" - importSQLFile ./db/studip.sql - echo "INSTALL DEFAULT DATA" - importSQLFile ./db/studip_default_data.sql - importSQLFile ./db/studip_resources_default_data.sql - - echo "INSTALL ROOTUSER" - importSQLFile ./db/studip_root_user.sql - # Check if demodata is required if [ ! -z $DEMO_DATA ]; then echo "INSTALL DEMODATA" - importSQLFile ./db/studip_demo_data.sql - echo "INSTALL MVV_DEMODATA" - importSQLFile ./db/studip_mvv_demo_data.sql - echo "INSTALL RESOURCES-DEMODATA" - importSQLFile ./db/studip_resources_demo_data.sql + importSQLFile ./db/studip-demo-installation.sql + else + echo "INSTALL DB" + importSQLFile ./db/studip-basic-installation.sql + + echo "INSTALL ROOTUSER" + importSQLFile ./db/studip-root-user.sql fi echo "INSTALLATION FINISHED" |
