mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
truncate state balances for migration
This commit is contained in:
parent
77f6f679d2
commit
64ecf03841
@ -64,6 +64,7 @@ class MigrationsController extends AppController
|
||||
$commands = [
|
||||
[$blockchainTypesTable, 'fillWithDefault'],
|
||||
[$transactionTypesTable, 'fillWithDefault'],
|
||||
[$stateBalancesTable, 'truncate'],
|
||||
[$transactionsTable, 'fillStateUserTransactions'],
|
||||
[$stateBalancesTable, 'updateAllBalances']
|
||||
];
|
||||
|
||||
@ -24,7 +24,7 @@ use Cake\I18n\FrozenTime;
|
||||
*
|
||||
* @mixin \Cake\ORM\Behavior\TimestampBehavior
|
||||
*/
|
||||
class StateBalancesTable extends Table
|
||||
class StateBalancesTable extends AppTable
|
||||
{
|
||||
private static $startDecayDate = null;
|
||||
/**
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user