soc_site-astro/prisma/migrations/20250510045915_request_state_as_enum/migration.sql

8 lines
307 B
SQL

/*
Warnings:
- You are about to alter the column `state` on the `requests` table. The data in that column could be lost. The data in that column will be cast from `VarChar(255)` to `Enum(EnumId(1))`.
*/
-- AlterTable
ALTER TABLE `requests` MODIFY `state` ENUM('complete', 'hold', 'pending') NOT NULL;