1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-18 12:52:42 +01:00
phorge-phorge/resources/sql/patches/liskcounters-task.sql

9 lines
296 B
MySQL
Raw Normal View History

ALTER TABLE `{$NAMESPACE}_worker`.worker_task
CHANGE id id INT UNSIGNED NOT NULL;
RENAME TABLE `{$NAMESPACE}_worker`.worker_task
TO `{$NAMESPACE}_worker`.worker_activetask;
UPDATE `{$NAMESPACE}_worker`.lisk_counter
SET counterName = 'worker_activetask' WHERE counterName = 'worker_task';