diff --git a/prisma/migrations/20250318034516_add_language_server_protocol_enum/migration.sql b/prisma/migrations/20250318034516_add_language_server_protocol_enum/migration.sql new file mode 100644 index 0000000..9135c04 --- /dev/null +++ b/prisma/migrations/20250318034516_add_language_server_protocol_enum/migration.sql @@ -0,0 +1,12 @@ +/* + Warnings: + + - Changed the type of `protocol` on the `LanguageServerConfig` table. No cast exists, the column would be dropped and recreated, which cannot be done if there is data, since the column is required. + +*/ +-- CreateEnum +CREATE TYPE "LanguageServerProtocol" AS ENUM ('ws', 'wss'); + +-- AlterTable +ALTER TABLE "LanguageServerConfig" DROP COLUMN "protocol", +ADD COLUMN "protocol" "LanguageServerProtocol" NOT NULL;