/*
  Warnings:

  - You are about to drop the column `kelas` on the `siswa` table. All the data in the column will be lost.
  - You are about to drop the column `tingkat` on the `siswa` table. All the data in the column will be lost.

*/
-- AlterTable
ALTER TABLE "siswa" DROP COLUMN "kelas",
DROP COLUMN "tingkat",
ADD COLUMN     "rombelId" TEXT;

-- AddForeignKey
ALTER TABLE "siswa" ADD CONSTRAINT "siswa_rombelId_fkey" FOREIGN KEY ("rombelId") REFERENCES "rombel"("id") ON DELETE SET NULL ON UPDATE CASCADE;
