diff --git a/docu/Concepts/TechnicalRequirements/graphics/CommunityDBSkeema.drawio b/docu/Concepts/TechnicalRequirements/graphics/CommunityDBSkeema.drawio index daad0b3c7..07c4f6284 100644 --- a/docu/Concepts/TechnicalRequirements/graphics/CommunityDBSkeema.drawio +++ b/docu/Concepts/TechnicalRequirements/graphics/CommunityDBSkeema.drawio @@ -1,6 +1,6 @@ - + - + @@ -43,7 +43,7 @@ - + @@ -61,7 +61,7 @@ - + @@ -88,7 +88,7 @@ - + @@ -413,7 +413,7 @@ - + @@ -425,7 +425,7 @@ - + @@ -435,40 +435,40 @@ - + - + - + - + - + - + - + - + - + - + - + - + @@ -478,7 +478,7 @@ - + @@ -488,7 +488,7 @@ - + @@ -498,7 +498,7 @@ - + @@ -508,7 +508,7 @@ - + @@ -518,7 +518,7 @@ - + @@ -528,7 +528,7 @@ - + @@ -538,7 +538,7 @@ - + diff --git a/docu/other/db/cake_gradido_single_dev_node-1.sql b/docu/other/db/cake_gradido_single_dev_node-1.sql index acce4dce1..7026e52cd 100644 --- a/docu/other/db/cake_gradido_single_dev_node-1.sql +++ b/docu/other/db/cake_gradido_single_dev_node-1.sql @@ -126,7 +126,7 @@ CREATE TABLE `state_created` ( CREATE TABLE `state_errors` ( `id` int(11) NOT NULL, `state_user_id` int(11) NOT NULL, - `type_id` int(11) NOT NULL, + `transaction_type_id` int(11) NOT NULL, `created` datetime NOT NULL, `message_json` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; @@ -194,7 +194,7 @@ CREATE TABLE `state_users` ( CREATE TABLE `transactions` ( `id` bigint(20) NOT NULL, `group_id` int(11) NOT NULL, - `type_id` int(11) NOT NULL, + `transaction_type_id` int(11) NOT NULL, `tx_hash` binary(32) NOT NULL, `memo` varchar(255) COLLATE utf8_bin NOT NULL, `received` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP diff --git a/docu/other/db/cake_gradido_single_node.sql b/docu/other/db/cake_gradido_single_node.sql index acce4dce1..7026e52cd 100644 --- a/docu/other/db/cake_gradido_single_node.sql +++ b/docu/other/db/cake_gradido_single_node.sql @@ -126,7 +126,7 @@ CREATE TABLE `state_created` ( CREATE TABLE `state_errors` ( `id` int(11) NOT NULL, `state_user_id` int(11) NOT NULL, - `type_id` int(11) NOT NULL, + `transaction_type_id` int(11) NOT NULL, `created` datetime NOT NULL, `message_json` text NOT NULL ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; @@ -194,7 +194,7 @@ CREATE TABLE `state_users` ( CREATE TABLE `transactions` ( `id` bigint(20) NOT NULL, `group_id` int(11) NOT NULL, - `type_id` int(11) NOT NULL, + `transaction_type_id` int(11) NOT NULL, `tx_hash` binary(32) NOT NULL, `memo` varchar(255) COLLATE utf8_bin NOT NULL, `received` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP diff --git a/docu/other/db/community_db.txt b/docu/other/db/community_db.txt index 0942d1970..b1e125d1f 100644 --- a/docu/other/db/community_db.txt +++ b/docu/other/db/community_db.txt @@ -27,7 +27,7 @@ state_users id index group_id public_key email first_name last_name state_errors -id state_user_id type_id created message_json +id state_user_id transaction_type_id created message_json state_balances id state_user_id modified amount @@ -48,7 +48,7 @@ id transaction_id signature pubkey transactions int64 -id state_group_id type_id tx_hash received +id state_group_id transaction_type_id tx_hash received transaction_send_coins id transaction_id state_user_id receiver_public receiver_user_id amount sender_final_balance diff --git a/docu/other/db/mirror_db.txt b/docu/other/db/mirror_db.txt index 40a6cda22..37ef59011 100644 --- a/docu/other/db/mirror_db.txt +++ b/docu/other/db/mirror_db.txt @@ -8,7 +8,7 @@ id transaction_id signature pubkey transactions int64 -id group_id timestamp type_id hash received +id group_id timestamp transaction_type_id hash received transaction_bins id transaction_id filename start size @@ -16,5 +16,5 @@ id transaction_id filename start size state_created id transaction_id month year short_ident_hash -F�r mehr Performance, jeweils eine transactions, transaction_bins und transaction_signatures +Für mehr Performance, jeweils eine transactions, transaction_bins und transaction_signatures Tabelle pro Gruppe diff --git a/docu/other/db/transactions.sql b/docu/other/db/transactions.sql index 7c5ffd99a..35b06a11f 100644 --- a/docu/other/db/transactions.sql +++ b/docu/other/db/transactions.sql @@ -2,7 +2,7 @@ CREATE TABLE `transactions` ( `id` bigint(20) NOT NULL, `state_group_id` int(11) NOT NULL, - `type_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`)