remove appointment from events

This commit is contained in:
PxlLoewe
2026-01-18 01:09:39 +01:00
parent 606379d151
commit 9129652912
22 changed files with 105 additions and 1133 deletions

View File

@@ -0,0 +1,35 @@
/*
Warnings:
- You are about to drop the column `appointmentCancelled` on the `Participant` table. All the data in the column will be lost.
- You are about to drop the column `attended` on the `Participant` table. All the data in the column will be lost.
- You are about to drop the column `eventAppointmentId` on the `Participant` table. All the data in the column will be lost.
- You are about to drop the `EventAppointment` table. If the table is not empty, all the data it contains will be lost.
- You are about to drop the `_EventAppointmentUser` table. If the table is not empty, all the data it contains will be lost.
*/
-- DropForeignKey
ALTER TABLE "EventAppointment" DROP CONSTRAINT "EventAppointment_eventId_fkey";
-- DropForeignKey
ALTER TABLE "EventAppointment" DROP CONSTRAINT "EventAppointment_presenterId_fkey";
-- DropForeignKey
ALTER TABLE "Participant" DROP CONSTRAINT "Participant_eventAppointmentId_fkey";
-- DropForeignKey
ALTER TABLE "_EventAppointmentUser" DROP CONSTRAINT "_EventAppointmentUser_A_fkey";
-- DropForeignKey
ALTER TABLE "_EventAppointmentUser" DROP CONSTRAINT "_EventAppointmentUser_B_fkey";
-- AlterTable
ALTER TABLE "Participant" DROP COLUMN "appointmentCancelled",
DROP COLUMN "attended",
DROP COLUMN "eventAppointmentId";
-- DropTable
DROP TABLE "EventAppointment";
-- DropTable
DROP TABLE "_EventAppointmentUser";

View File

@@ -0,0 +1,8 @@
/*
Warnings:
- You are about to drop the column `hasPresenceEvents` on the `Event` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "Event" DROP COLUMN "hasPresenceEvents";

View File

@@ -0,0 +1,8 @@
/*
Warnings:
- You are about to drop the column `maxParticipants` on the `Event` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "Event" DROP COLUMN "maxParticipants";