diff --git a/community_server/db/address_types.sql b/community_server/db/address_types.sql deleted file mode 100644 index 27f6bb410..000000000 --- a/community_server/db/address_types.sql +++ /dev/null @@ -1,6 +0,0 @@ -CREATE TABLE `address_types` ( - `id` INT NOT NULL AUTO_INCREMENT, - `name` VARCHAR(25) NOT NULL, - `text` VARCHAR(255) NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; \ No newline at end of file diff --git a/community_server/db/operators.sql b/community_server/db/operators.sql deleted file mode 100644 index 8ffa9f04f..000000000 --- a/community_server/db/operators.sql +++ /dev/null @@ -1,7 +0,0 @@ -CREATE TABLE `operators` ( - `id` INT NOT NULL AUTO_INCREMENT , - `username` VARCHAR(128) NOT NULL , - `data_base64` VARCHAR(255) NOT NULL , - PRIMARY KEY (`id`), UNIQUE (`username`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; - diff --git a/community_server/skeema/gradido_community/insert/address_types.sql b/community_server/db/setup_db_tables/address_types.sql similarity index 100% rename from community_server/skeema/gradido_community/insert/address_types.sql rename to community_server/db/setup_db_tables/address_types.sql diff --git a/community_server/skeema/gradido_community/insert/insert_blockchain_types.sql b/community_server/db/setup_db_tables/insert_blockchain_types.sql similarity index 100% rename from community_server/skeema/gradido_community/insert/insert_blockchain_types.sql rename to community_server/db/setup_db_tables/insert_blockchain_types.sql diff --git a/community_server/skeema/gradido_community/insert/insert_transaction_types.sql b/community_server/db/setup_db_tables/insert_transaction_types.sql similarity index 100% rename from community_server/skeema/gradido_community/insert/insert_transaction_types.sql rename to community_server/db/setup_db_tables/insert_transaction_types.sql diff --git a/community_server/skeema/gradido_community/address_types.sql b/community_server/db/skeema/gradido_community/address_types.sql similarity index 100% rename from community_server/skeema/gradido_community/address_types.sql rename to community_server/db/skeema/gradido_community/address_types.sql diff --git a/community_server/skeema/gradido_community/admin_errors.sql b/community_server/db/skeema/gradido_community/admin_errors.sql similarity index 100% rename from community_server/skeema/gradido_community/admin_errors.sql rename to community_server/db/skeema/gradido_community/admin_errors.sql diff --git a/community_server/skeema/gradido_community/blockchain_types.sql b/community_server/db/skeema/gradido_community/blockchain_types.sql similarity index 100% rename from community_server/skeema/gradido_community/blockchain_types.sql rename to community_server/db/skeema/gradido_community/blockchain_types.sql diff --git a/community_server/skeema/gradido_community/community_profiles.sql b/community_server/db/skeema/gradido_community/community_profiles.sql similarity index 100% rename from community_server/skeema/gradido_community/community_profiles.sql rename to community_server/db/skeema/gradido_community/community_profiles.sql diff --git a/community_server/skeema/gradido_community/operator_types.sql b/community_server/db/skeema/gradido_community/operator_types.sql similarity index 100% rename from community_server/skeema/gradido_community/operator_types.sql rename to community_server/db/skeema/gradido_community/operator_types.sql diff --git a/community_server/skeema/gradido_community/operators.sql b/community_server/db/skeema/gradido_community/operators.sql similarity index 100% rename from community_server/skeema/gradido_community/operators.sql rename to community_server/db/skeema/gradido_community/operators.sql diff --git a/community_server/skeema/gradido_community/pending_transactions.sql b/community_server/db/skeema/gradido_community/pending_transactions.sql similarity index 100% rename from community_server/skeema/gradido_community/pending_transactions.sql rename to community_server/db/skeema/gradido_community/pending_transactions.sql diff --git a/community_server/skeema/gradido_community/roles.sql b/community_server/db/skeema/gradido_community/roles.sql similarity index 100% rename from community_server/skeema/gradido_community/roles.sql rename to community_server/db/skeema/gradido_community/roles.sql diff --git a/community_server/skeema/gradido_community/server_users.sql b/community_server/db/skeema/gradido_community/server_users.sql similarity index 100% rename from community_server/skeema/gradido_community/server_users.sql rename to community_server/db/skeema/gradido_community/server_users.sql diff --git a/community_server/skeema/gradido_community/state_balances.sql b/community_server/db/skeema/gradido_community/state_balances.sql similarity index 100% rename from community_server/skeema/gradido_community/state_balances.sql rename to community_server/db/skeema/gradido_community/state_balances.sql diff --git a/community_server/skeema/gradido_community/state_created.sql b/community_server/db/skeema/gradido_community/state_created.sql similarity index 100% rename from community_server/skeema/gradido_community/state_created.sql rename to community_server/db/skeema/gradido_community/state_created.sql diff --git a/community_server/skeema/gradido_community/state_errors.sql b/community_server/db/skeema/gradido_community/state_errors.sql similarity index 100% rename from community_server/skeema/gradido_community/state_errors.sql rename to community_server/db/skeema/gradido_community/state_errors.sql diff --git a/community_server/skeema/gradido_community/state_group_addresses.sql b/community_server/db/skeema/gradido_community/state_group_addresses.sql similarity index 100% rename from community_server/skeema/gradido_community/state_group_addresses.sql rename to community_server/db/skeema/gradido_community/state_group_addresses.sql diff --git a/community_server/skeema/gradido_community/state_group_relationships.sql b/community_server/db/skeema/gradido_community/state_group_relationships.sql similarity index 100% rename from community_server/skeema/gradido_community/state_group_relationships.sql rename to community_server/db/skeema/gradido_community/state_group_relationships.sql diff --git a/community_server/skeema/gradido_community/state_groups.sql b/community_server/db/skeema/gradido_community/state_groups.sql similarity index 100% rename from community_server/skeema/gradido_community/state_groups.sql rename to community_server/db/skeema/gradido_community/state_groups.sql diff --git a/community_server/skeema/gradido_community/state_relationship_types.sql b/community_server/db/skeema/gradido_community/state_relationship_types.sql similarity index 100% rename from community_server/skeema/gradido_community/state_relationship_types.sql rename to community_server/db/skeema/gradido_community/state_relationship_types.sql diff --git a/community_server/skeema/gradido_community/state_user_roles.sql b/community_server/db/skeema/gradido_community/state_user_roles.sql similarity index 100% rename from community_server/skeema/gradido_community/state_user_roles.sql rename to community_server/db/skeema/gradido_community/state_user_roles.sql diff --git a/community_server/skeema/gradido_community/state_user_transactions.sql b/community_server/db/skeema/gradido_community/state_user_transactions.sql similarity index 100% rename from community_server/skeema/gradido_community/state_user_transactions.sql rename to community_server/db/skeema/gradido_community/state_user_transactions.sql diff --git a/community_server/skeema/gradido_community/state_users.sql b/community_server/db/skeema/gradido_community/state_users.sql similarity index 100% rename from community_server/skeema/gradido_community/state_users.sql rename to community_server/db/skeema/gradido_community/state_users.sql diff --git a/community_server/skeema/gradido_community/transaction_creations.sql b/community_server/db/skeema/gradido_community/transaction_creations.sql similarity index 100% rename from community_server/skeema/gradido_community/transaction_creations.sql rename to community_server/db/skeema/gradido_community/transaction_creations.sql diff --git a/community_server/skeema/gradido_community/transaction_group_addaddress.sql b/community_server/db/skeema/gradido_community/transaction_group_addaddress.sql similarity index 100% rename from community_server/skeema/gradido_community/transaction_group_addaddress.sql rename to community_server/db/skeema/gradido_community/transaction_group_addaddress.sql diff --git a/community_server/skeema/gradido_community/transaction_group_allowtrades.sql b/community_server/db/skeema/gradido_community/transaction_group_allowtrades.sql similarity index 100% rename from community_server/skeema/gradido_community/transaction_group_allowtrades.sql rename to community_server/db/skeema/gradido_community/transaction_group_allowtrades.sql diff --git a/community_server/skeema/gradido_community/transaction_group_creates.sql b/community_server/db/skeema/gradido_community/transaction_group_creates.sql similarity index 100% rename from community_server/skeema/gradido_community/transaction_group_creates.sql rename to community_server/db/skeema/gradido_community/transaction_group_creates.sql diff --git a/community_server/skeema/gradido_community/transaction_send_coins.sql b/community_server/db/skeema/gradido_community/transaction_send_coins.sql similarity index 100% rename from community_server/skeema/gradido_community/transaction_send_coins.sql rename to community_server/db/skeema/gradido_community/transaction_send_coins.sql diff --git a/community_server/skeema/gradido_community/transaction_signatures.sql b/community_server/db/skeema/gradido_community/transaction_signatures.sql similarity index 100% rename from community_server/skeema/gradido_community/transaction_signatures.sql rename to community_server/db/skeema/gradido_community/transaction_signatures.sql diff --git a/community_server/skeema/gradido_community/transaction_types.sql b/community_server/db/skeema/gradido_community/transaction_types.sql similarity index 100% rename from community_server/skeema/gradido_community/transaction_types.sql rename to community_server/db/skeema/gradido_community/transaction_types.sql diff --git a/community_server/skeema/gradido_community/transactions.sql b/community_server/db/skeema/gradido_community/transactions.sql similarity index 100% rename from community_server/skeema/gradido_community/transactions.sql rename to community_server/db/skeema/gradido_community/transactions.sql diff --git a/community_server/db/state_balances.sql b/community_server/db/state_balances.sql deleted file mode 100644 index 0bc263093..000000000 --- a/community_server/db/state_balances.sql +++ /dev/null @@ -1,7 +0,0 @@ -CREATE TABLE `state_balances` ( - `id` int(11) NOT NULL, - `state_user_id` int(11) NOT NULL, - `modified` datetime NOT NULL, - `amount` bigint(20) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; \ No newline at end of file diff --git a/community_server/db/state_created.sql b/community_server/db/state_created.sql deleted file mode 100644 index a15ccacd3..000000000 --- a/community_server/db/state_created.sql +++ /dev/null @@ -1,10 +0,0 @@ -CREATE TABLE `state_created` ( - `id` int(11) NOT NULL, - `transaction_id` int(11) NOT NULL, - `month` tinyint(4) NOT NULL, - `year` smallint(6) NOT NULL, - `state_user_id` int(11) NOT NULL, - `created` datetime NOT NULL, - `short_ident_hash` int(11) NOT NULL, - PRIMARY KEY (`id`), INDEX(`short_ident_hash`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; diff --git a/community_server/db/state_group_addresses.sql b/community_server/db/state_group_addresses.sql deleted file mode 100644 index 3e09b8658..000000000 --- a/community_server/db/state_group_addresses.sql +++ /dev/null @@ -1,7 +0,0 @@ -CREATE TABLE `state_group_addresses` ( - `id` int(11) NOT NULL, - `state_group_id` int(11) NOT NULL, - `public_key` binary(32) NOT NULL, - `address_type_id` int(11) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; diff --git a/community_server/db/state_group_relationships.sql b/community_server/db/state_group_relationships.sql deleted file mode 100644 index 0d26e91b6..000000000 --- a/community_server/db/state_group_relationships.sql +++ /dev/null @@ -1,7 +0,0 @@ -CREATE TABLE `state_group_relationships` ( - `id` int(11) NOT NULL, - `state_group1_id` int(11) NOT NULL, - `state_group2_id` int(11) NOT NULL, - `state_relationship_id` int(11) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; diff --git a/community_server/db/state_groups.sql b/community_server/db/state_groups.sql deleted file mode 100644 index dc5ca5251..000000000 --- a/community_server/db/state_groups.sql +++ /dev/null @@ -1,8 +0,0 @@ -CREATE TABLE `state_groups` ( - `id` INT NOT NULL AUTO_INCREMENT, - `index_id` VARBINARY(64) NOT NULL, - `name` VARCHAR(50) NOT NULL, - `root_public_key` BINARY(32) NOT NULL, - `user_count` SMALLINT NOT NULL DEFAULT '0', - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; \ No newline at end of file diff --git a/community_server/db/state_relationship_types.sql b/community_server/db/state_relationship_types.sql deleted file mode 100644 index d6e53a966..000000000 --- a/community_server/db/state_relationship_types.sql +++ /dev/null @@ -1,6 +0,0 @@ -CREATE TABLE `state_relationship_types` ( - `id` int(11) NOT NULL, - `name` varchar(25) COLLATE utf8_bin NOT NULL, - `text` varchar(255) COLLATE utf8_bin DEFAULT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; diff --git a/community_server/db/state_users.sql b/community_server/db/state_users.sql deleted file mode 100644 index 82d61f10e..000000000 --- a/community_server/db/state_users.sql +++ /dev/null @@ -1,7 +0,0 @@ -CREATE TABLE `state_users` ( - `id` int(11) NOT NULL, - `index_id` smallint(6) NOT NULL, - `state_group_id` int(11) NOT NULL, - `public_key` binary(32) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; diff --git a/community_server/db/transaction_creations.sql b/community_server/db/transaction_creations.sql deleted file mode 100644 index 343404ddb..000000000 --- a/community_server/db/transaction_creations.sql +++ /dev/null @@ -1,10 +0,0 @@ - -CREATE TABLE `transaction_creations` ( - `id` int(11) NOT NULL, - `transaction_id` int(11) NOT NULL, - `state_user_id` int(11) NOT NULL, - `amount` bigint(20) NOT NULL, - `ident_hash` binary(32) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; - diff --git a/community_server/db/transaction_group_addAddress.sql b/community_server/db/transaction_group_addAddress.sql deleted file mode 100644 index f7474cc73..000000000 --- a/community_server/db/transaction_group_addAddress.sql +++ /dev/null @@ -1,8 +0,0 @@ - -CREATE TABLE `transaction_group_addaddress` ( - `id` int(11) NOT NULL, - `transaction_id` int(11) NOT NULL, - `address_type_id` int(11) NOT NULL, - `public_key` binary(32) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; diff --git a/community_server/db/transaction_group_allowtrades.sql b/community_server/db/transaction_group_allowtrades.sql deleted file mode 100644 index 2fd94b4d6..000000000 --- a/community_server/db/transaction_group_allowtrades.sql +++ /dev/null @@ -1,8 +0,0 @@ - -CREATE TABLE `transaction_group_allowtrades` ( - `id` int(11) NOT NULL, - `transaction_id` int(11) NOT NULL, - `group_id` int(11) NOT NULL, - `allow` tinyint(1) NOT NULL DEFAULT '0', - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; diff --git a/community_server/db/transaction_group_creates.sql b/community_server/db/transaction_group_creates.sql deleted file mode 100644 index 0c0d7cc5d..000000000 --- a/community_server/db/transaction_group_creates.sql +++ /dev/null @@ -1,9 +0,0 @@ - -CREATE TABLE `transaction_group_creates` ( - `id` int(11) NOT NULL, - `transaction_id` int(11) NOT NULL, - `group_public_key` binary(32) NOT NULL, - `state_group_id` int(11) COLLATE utf8_bin NOT NULL, - `name` varchar(64) COLLATE utf8_bin NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; diff --git a/community_server/db/transaction_send_coins.sql b/community_server/db/transaction_send_coins.sql deleted file mode 100644 index 8113c78e0..000000000 --- a/community_server/db/transaction_send_coins.sql +++ /dev/null @@ -1,11 +0,0 @@ - -CREATE TABLE `transaction_send_coins` ( - `id` int(11) NOT NULL, - `transaction_id` int(11) NOT NULL, - `state_user_id` int(11) NOT NULL, - `receiver_public_key` binary(32) NOT NULL, - `receiver_user_id` varbinary(64) NOT NULL, - `amount` bigint(20) NOT NULL, - `sender_final_balance` bigint(20) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; diff --git a/community_server/db/transaction_signatures.sql b/community_server/db/transaction_signatures.sql deleted file mode 100644 index 9fab87fb2..000000000 --- a/community_server/db/transaction_signatures.sql +++ /dev/null @@ -1,7 +0,0 @@ -CREATE TABLE `transaction_signatures` ( - `id` int(11) NOT NULL, - `transaction_id` int(11) NOT NULL, - `signature` binary(64) NOT NULL, - `pubkey` binary(32) NOT NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; diff --git a/community_server/db/transaction_types.sql b/community_server/db/transaction_types.sql deleted file mode 100644 index 26bd70c52..000000000 --- a/community_server/db/transaction_types.sql +++ /dev/null @@ -1,6 +0,0 @@ -CREATE TABLE `transaction_types` ( - `id` INT NOT NULL AUTO_INCREMENT, - `name` VARCHAR(24) NOT NULL, - `text` VARCHAR(255) NULL, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; \ No newline at end of file diff --git a/community_server/db/transactions.sql b/community_server/db/transactions.sql deleted file mode 100644 index e664b067f..000000000 --- a/community_server/db/transactions.sql +++ /dev/null @@ -1,9 +0,0 @@ - -CREATE TABLE `transactions` ( - `id` bigint(20) NOT NULL, - `state_group_id` int(11) NOT NULL, - `transaction_type_id` int(11) NOT NULL, - `tx_hash` binary(32) NOT NULL, - `received` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, - PRIMARY KEY (`id`) -) ENGINE=InnoDB DEFAULT CHARSET=utf8 COLLATE=utf8_bin; diff --git a/login_server/skeema/gradido_login/insert/setup_docker_group.sql b/configs/login_server/setup_db_tables/setup_docker_group.sql similarity index 100% rename from login_server/skeema/gradido_login/insert/setup_docker_group.sql rename to configs/login_server/setup_db_tables/setup_docker_group.sql diff --git a/login_server/skeema/gradido_login/insert/setup_hedera_group.sql b/configs/login_server/setup_db_tables/setup_hedera_group.sql similarity index 98% rename from login_server/skeema/gradido_login/insert/setup_hedera_group.sql rename to configs/login_server/setup_db_tables/setup_hedera_group.sql index 4e227be6c..2ae4dfeb6 100644 --- a/login_server/skeema/gradido_login/insert/setup_hedera_group.sql +++ b/configs/login_server/setup_db_tables/setup_hedera_group.sql @@ -1,19 +1,19 @@ -INSERT INTO `groups` (`id`, `alias`, `name`, `url`, `host`, `home`, `description`) VALUES -(2, 'dockerStage2', 'docker stage2 gradido group', 'localhost', 'nginx', '/', 'gradido test group for docker and stage2'); - -INSERT INTO `hedera_ids` (`id`, `shardNum`, `realmNum`, `num`) VALUES -(1, 0, 0, 3), -(2, 0, 0, 3327), -(3, 0, 0, 413151); - -INSERT INTO `node_servers` (`id`, `url`, `port`, `group_id`, `server_type`, `node_hedera_id`, `last_live_sign`) VALUES -(1, 'http://0.testnet.hedera.com', 50211, 0, 4, 2, '2000-01-01 00:00:00'); - -INSERT INTO `hedera_accounts` (`id`, `user_id`, `account_hedera_id`, `account_key_id`, `balance`, `network_type`, `updated`) VALUES -(1, 1, 2, 1, 1000000000000, 1, '2021-01-07 10:22:52'); - -INSERT INTO `hedera_topics` (`id`, `topic_hedera_id`, `name`, `auto_renew_account_hedera_id`, `auto_renew_period`, `group_id`, `admin_key_id`, `submit_key_id`, `current_timeout`, `sequence_number`, `running_hash`, `running_hash_version`, `updated`) VALUES -(1, 3, 'dockerStage2', 1, 7890000, 1, 0, 0, '2021-06-08 23:17:19', 0, NULL, 0, '2021-03-09 16:42:34'); - - - +INSERT INTO `groups` (`id`, `alias`, `name`, `url`, `host`, `home`, `description`) VALUES +(2, 'dockerStage2', 'docker stage2 gradido group', 'localhost', 'nginx', '/', 'gradido test group for docker and stage2'); + +INSERT INTO `hedera_ids` (`id`, `shardNum`, `realmNum`, `num`) VALUES +(1, 0, 0, 3), +(2, 0, 0, 3327), +(3, 0, 0, 413151); + +INSERT INTO `node_servers` (`id`, `url`, `port`, `group_id`, `server_type`, `node_hedera_id`, `last_live_sign`) VALUES +(1, 'http://0.testnet.hedera.com', 50211, 0, 4, 2, '2000-01-01 00:00:00'); + +INSERT INTO `hedera_accounts` (`id`, `user_id`, `account_hedera_id`, `account_key_id`, `balance`, `network_type`, `updated`) VALUES +(1, 1, 2, 1, 1000000000000, 1, '2021-01-07 10:22:52'); + +INSERT INTO `hedera_topics` (`id`, `topic_hedera_id`, `name`, `auto_renew_account_hedera_id`, `auto_renew_period`, `group_id`, `admin_key_id`, `submit_key_id`, `current_timeout`, `sequence_number`, `running_hash`, `running_hash_version`, `updated`) VALUES +(1, 3, 'dockerStage2', 1, 7890000, 1, 0, 0, '2021-06-08 23:17:19', 0, NULL, 0, '2021-03-09 16:42:34'); + + + diff --git a/mariadb/Dockerfile b/mariadb/Dockerfile index abfc45d1d..cae6b07f4 100644 --- a/mariadb/Dockerfile +++ b/mariadb/Dockerfile @@ -13,9 +13,11 @@ COPY ./mariadb/setup_dbs.sql a_setup_dbs.sql # login server db COPY ./login_server/skeema/ . RUN cd ./gradido_login/ && for f in *.sql; do cp -- "$f" "../b_$f"; sed -i '1i use gradido_login;' "../b_$f"; done +COPY ./configs/login_server/setup_db_tables ./gradido_login/insert RUN cd ./gradido_login/insert && for f in *.sql; do cp -- "$f" "../../c_$f"; sed -i '1i use gradido_login;' "../../c_$f"; done # community server db -COPY ./community_server/skeema/ . +COPY ./community_server/db/skeema/ . RUN cd ./gradido_community/ && for f in *.sql; do cp -- "$f" "../d_$f"; sed -i '1i use gradido_community;' "../d_$f"; done +COPY ./community_server/db/setup_db_tables ./gradido_community/insert RUN cd ./gradido_community/insert && for f in *.sql; do cp -- "$f" "../../e_$f"; sed -i '1i use gradido_community;' "../../e_$f"; done diff --git a/mariadb/setup_dbs_different_user.sh b/mariadb/setup_dbs_different_user.sh index d362a1971..604276ef3 100755 --- a/mariadb/setup_dbs_different_user.sh +++ b/mariadb/setup_dbs_different_user.sh @@ -54,7 +54,7 @@ skeema push -p$LOGIN_DB_PASSWD cd ../../.. # populate db of community-server -cd community_server/skeema +cd community_server/db/skeema sudo cat << EOF > .skeema [production] flavor=mariadb:10.3.25 diff --git a/skeema/Dockerfile b/skeema/Dockerfile index 8c921ba23..edb908daa 100644 --- a/skeema/Dockerfile +++ b/skeema/Dockerfile @@ -22,7 +22,7 @@ WORKDIR ${DOCKER_WORKDIR} COPY ./skeema/.skeema . COPY ./login_server/skeema/ . COPY ./mariadb/.skeema.login ./gradido_login/.skeema -COPY ./community_server/skeema/ . +COPY ./community_server/db/skeema/ . COPY ./mariadb/.skeema.community ./gradido_community/.skeema CMD skeema push \ No newline at end of file