mirror of
https://github.com/IT4Change/gradido.git
synced 2025-12-13 07:45:54 +00:00
corrected down query
This commit is contained in:
parent
31c00a28e0
commit
d75cdc0f72
@ -45,7 +45,7 @@ export async function downgrade(queryFn: (query: string, values?: any[]) => Prom
|
||||
`)
|
||||
await queryFn(`
|
||||
INSERT INTO transaction_signatures (transaction_id, signature, pubkey)
|
||||
VALUES (SELECT id as transaction_id, signature, pubkey FROM transactions WHERE signature IS NOT NULL and pubkey IS NOT NULL);
|
||||
(SELECT id as transaction_id, signature, pubkey FROM transactions WHERE signature IS NOT NULL and pubkey IS NOT NULL);
|
||||
`)
|
||||
await queryFn('ALTER TABLE `transactions` DROP COLUMN `pubkey`;')
|
||||
await queryFn('ALTER TABLE `transactions` DROP COLUMN `signature`;')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user