mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 07:16:34 +00:00
13 lines
429 B
MySQL
13 lines
429 B
MySQL
|
/*
|
||
|
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;
|