-- DropForeignKey
ALTER TABLE `waypoint` DROP FOREIGN KEY `WayPoint_ownerId_fkey`;

-- AlterTable
ALTER TABLE `user` MODIFY `role` ENUM('OWNER', 'ADMIN', 'OPERATOR', 'MODERATOR', 'BUILDER', 'STAFF', 'VIP', 'USER') NOT NULL DEFAULT 'USER';

-- AddForeignKey
ALTER TABLE `WayPoint` ADD CONSTRAINT `WayPoint_ownerId_fkey` FOREIGN KEY (`ownerId`) REFERENCES `User`(`xuid`) ON DELETE CASCADE ON UPDATE CASCADE;
