mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-25 04:25:13 +03:00
76bcd3c52c
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
18 lines
297 B
SQL
18 lines
297 B
SQL
ALTER TABLE time
|
|
ADD "workslots" bigint,
|
|
ADD "doneOn" bigint,
|
|
add rank text,
|
|
ADD "user" text;
|
|
|
|
UPDATE time
|
|
SET "workslots" = (data->>'workslots')::bigint;
|
|
|
|
UPDATE time
|
|
SET "doneOn" = (data->>'doneOn')::bigint;
|
|
|
|
UPDATE time
|
|
SET "rank" = (data->>'rank');
|
|
|
|
UPDATE time
|
|
SET "user" = (data->>'user');
|