From b6e336205c48261f7e097f743fc07cdaf5a65f2d Mon Sep 17 00:00:00 2001 From: Dario via Pythagoras Date: Tue, 22 Dec 2020 13:46:26 +0100 Subject: [PATCH] update tx_hash data type size --- skeema/gradido_community/transactions.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/skeema/gradido_community/transactions.sql b/skeema/gradido_community/transactions.sql index 0e8c00ce6..566cfc048 100644 --- a/skeema/gradido_community/transactions.sql +++ b/skeema/gradido_community/transactions.sql @@ -2,7 +2,7 @@ CREATE TABLE `transactions` ( `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT, `state_group_id` int(10) unsigned DEFAULT NULL, `transaction_type_id` int(10) unsigned NOT NULL, - `tx_hash` binary(32) DEFAULT NULL, + `tx_hash` binary(48) DEFAULT NULL, `memo` varchar(255) COLLATE utf8mb4_unicode_ci NOT NULL, `received` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`id`)