From 9660a883c34dd631cc6fee9c3d13ca26309bb5ae Mon Sep 17 00:00:00 2001 From: Ulf Gebhardt Date: Sun, 22 Aug 2021 23:59:05 +0200 Subject: [PATCH] removed more skeema stuff relate to the community db --- deployment/bare_metal/update_db_schemas.sh | 4 +--- mariadb/setup_dbs_different_user.sh | 20 -------------------- 2 files changed, 1 insertion(+), 23 deletions(-) diff --git a/deployment/bare_metal/update_db_schemas.sh b/deployment/bare_metal/update_db_schemas.sh index 48cba596b..80628f35c 100755 --- a/deployment/bare_metal/update_db_schemas.sh +++ b/deployment/bare_metal/update_db_schemas.sh @@ -1,9 +1,7 @@ #!/bin/bash # For that to work skeema needed to be installed on system -# in login_server/skeema and community_server/db/skeema skeema configuration files need to be there also in the subfolders +# in login_server/skeema skeema configuration files need to be there also in the subfolders # Update DB Schemas (only the schemas, not the data) cd ../../login_server/skeema skeema push --allow-unsafe -cd ../../community_server/db/skeema -skeema push --allow-unsafe diff --git a/mariadb/setup_dbs_different_user.sh b/mariadb/setup_dbs_different_user.sh index e4c0820f7..139337cbb 100755 --- a/mariadb/setup_dbs_different_user.sh +++ b/mariadb/setup_dbs_different_user.sh @@ -52,24 +52,4 @@ source $HOME/.gvm/scripts/gvm gvm use go1.14.4 skeema push -p$LOGIN_DB_PASSWD -cd ../../.. -# populate db of community-server -cd community_server/db/skeema -sudo cat << EOF > .skeema -[production] -flavor=mariadb:10.3.25 -host=127.0.0.1 -port=3306 -user=$COMMUNITY_DB_USER -EOF -cd gradido_community -sudo cat << EOF > .skeema -default-character-set=utf8mb4 -default-collation=utf8mb4_unicode_ci -schema=$COMMUNITY_DB_NAME -EOF - -skeema push -p$COMMUNITY_DB_PASSWD - echo -e "${COLOR_YELLOW}Login-Server db password: $LOGIN_DB_PASSWD${COLOR_NONE}" -echo -e "${COLOR_YELLOW}Community-Server db password: $COMMUNITY_DB_PASSWD${COLOR_NONE}"