mirror of
https://github.com/massbug/judge4c.git
synced 2025-05-18 15:26:33 +00:00
13 lines
429 B
SQL
13 lines
429 B
SQL
/*
|
|
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;
|