mirror of
https://github.com/hcengineering/platform.git
synced 2024-12-23 11:31:57 +03:00
084eca268e
Some checks are pending
CI / build (push) Waiting to run
CI / svelte-check (push) Blocked by required conditions
CI / formatting (push) Blocked by required conditions
CI / test (push) Blocked by required conditions
CI / uitest (push) Waiting to run
CI / uitest-pg (push) Waiting to run
CI / uitest-qms (push) Waiting to run
CI / docker-build (push) Blocked by required conditions
CI / dist-build (push) Blocked by required conditions
Signed-off-by: Denis Bykhov <bykhov.denis@gmail.com>
11 lines
246 B
SQL
11 lines
246 B
SQL
ALTER TABLE doc_index_state
|
|
ADD "needIndex" bool;
|
|
|
|
ALTER TABLE doc_index_state
|
|
DROP COLUMN "attachedTo";
|
|
|
|
UPDATE doc_index_state
|
|
SET "needIndex" = (data->>'needIndex')::boolean;
|
|
|
|
ALTER TABLE doc_index_state
|
|
ALTER COLUMN "needIndex" SET NOT NULL; |