mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
add missing field
This commit is contained in:
parent
6ffff13061
commit
750ca3460c
@ -1,7 +1,6 @@
|
|||||||
CREATE TABLE `transaction_send_coins` (
|
CREATE TABLE `transaction_send_coins` (
|
||||||
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
|
||||||
`transaction_id` int(10) unsigned NOT NULL,
|
`transaction_id` int(10) unsigned NOT NULL,
|
||||||
`public_key` binary(32) NOT NULL,
|
|
||||||
`sender_public_key` binary(32) NOT NULL,
|
`sender_public_key` binary(32) NOT NULL,
|
||||||
`state_user_id` int(10) unsigned DEFAULT 0,
|
`state_user_id` int(10) unsigned DEFAULT 0,
|
||||||
`receiver_public_key` binary(32) NOT NULL,
|
`receiver_public_key` binary(32) NOT NULL,
|
||||||
|
|||||||
@ -154,6 +154,7 @@ class TransactionTransfer extends TransactionBase {
|
|||||||
$transactionTransferEntity = $transactionTransferTable->newEntity();
|
$transactionTransferEntity = $transactionTransferTable->newEntity();
|
||||||
$transactionTransferEntity->transaction_id = $transaction_id;
|
$transactionTransferEntity->transaction_id = $transaction_id;
|
||||||
$transactionTransferEntity->state_user_id = $senderUserId;
|
$transactionTransferEntity->state_user_id = $senderUserId;
|
||||||
|
$transactionTransferEntity->sender_public_key = $senderAmount->getPubkey();
|
||||||
$transactionTransferEntity->receiver_public_key = $receiver;
|
$transactionTransferEntity->receiver_public_key = $receiver;
|
||||||
$transactionTransferEntity->receiver_user_id = $receiverUserId;
|
$transactionTransferEntity->receiver_user_id = $receiverUserId;
|
||||||
$transactionTransferEntity->amount = $senderAmount->getAmount();
|
$transactionTransferEntity->amount = $senderAmount->getAmount();
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user