ALTER TABLE "data_avoid" 
  ALTER COLUMN "node_id" DROP NOT NULL,
  DROP CONSTRAINT "FK_data_avoid_base_node_node_id",
  ADD CONSTRAINT "FK_data_avoid_base_node_node_id" FOREIGN KEY ("node_id") REFERENCES "base_node" ("id") ON DELETE SET NULL ON UPDATE NO ACTION;
