mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
Update database/migrations/0041-update_transactions_for_blockchain.ts
Co-authored-by: Moriz Wahl <moriz.wahl@gmx.de>
This commit is contained in:
parent
19253d7ce7
commit
a2ffab2d4d
@ -32,7 +32,7 @@ export async function upgrade(queryFn: (query: string, values?: any[]) => Promis
|
||||
275, 150, 1, 1000, 2000,
|
||||
?, 0, ?, ?
|
||||
)`,
|
||||
[creationDate, transactionMemos[1], creationDate],
|
||||
[creationDate, transactionMemos[1], new Date(creationDate.getFullYear(), creationDate.getMonth() - 1, 1)],
|
||||
)
|
||||
await queryFn(
|
||||
`INSERT INTO \`transactions\`(
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user