/*
  Warnings:

  - You are about to drop the column `session_hour` on the `programme_session` table. All the data in the column will be lost.
  - A unique constraint covering the columns `[order,programme_id]` on the table `programme_session` will be added. If there are existing duplicate values, this will fail.

*/
-- AlterTable
ALTER TABLE "programme_session" DROP COLUMN "session_hour",
ADD COLUMN     "order" INTEGER,
ADD COLUMN     "session_hour_block" INTEGER;

-- CreateIndex
CREATE UNIQUE INDEX "order_programme_access_unique" ON "programme_session"("order", "programme_id");
