-- Tables

-- Alters

ALTER TABLE EHR.T_EHR_RUS_REF_BOOKS ADD "deleted" boolean NULL;

UPDATE EHR.T_EHR_RUS_REF_BOOKS SET "deleted" = '0';

ALTER TABLE EHR.T_EHR_RUS_REF_BOOKS ALTER COLUMN "deleted" SET NOT NULL;

