-- DropIndex
DROP INDEX `leads_origin_id_fkey` ON `leads`;

-- AlterTable
ALTER TABLE `origins` ADD COLUMN `status` ENUM('ACTIVE', 'DISABLED') NOT NULL DEFAULT 'ACTIVE';

-- AddForeignKey
ALTER TABLE `leads` ADD CONSTRAINT `leads_origin_id_fkey` FOREIGN KEY (`origin_id`) REFERENCES `origins`(`id`) ON DELETE SET NULL ON UPDATE CASCADE;
