Files
2026-06-07 20:19:30 +07:00

6 lines
263 B
SQL
Executable File

-- CreateIndex
CREATE INDEX `lamaran_magang_batch_idx` ON `lamaran_magang`(`batch`);
-- AddForeignKey
ALTER TABLE `lamaran_magang` ADD CONSTRAINT `lamaran_magang_batch_foreign` FOREIGN KEY (`batch`) REFERENCES `batch`(`id`) ON DELETE SET NULL ON UPDATE CASCADE;