mirror of
https://github.com/Drop-OSS/drop.git
synced 2026-01-31 15:37:09 +01:00
* feat: game specialisation, auto-guess extensions * fix: enforce specialisation specific schema at API level * fix: lint * feat: partial work on depot endpoints * feat: bump torrential * feat: dummy version creation for depot uploads * fix: lint * fix: types * fix: lint * feat: depot version import * fix: lint * fix: remove any type * fix: lint * fix: push update interval * fix: cpu usage calculation * feat: delta version support * feat: style tweaks for selectlaunch.vue * fix: lint
28 lines
807 B
SQL
28 lines
807 B
SQL
-- DropIndex
|
|
DROP INDEX "Game_mName_idx";
|
|
|
|
-- DropIndex
|
|
DROP INDEX "GameTag_name_idx";
|
|
|
|
-- AlterTable
|
|
ALTER TABLE "GameVersion" ALTER COLUMN "versionPath" DROP NOT NULL;
|
|
|
|
-- CreateTable
|
|
CREATE TABLE "UnimportedGameVersion" (
|
|
"id" TEXT NOT NULL,
|
|
"gameId" TEXT NOT NULL,
|
|
"versionName" TEXT NOT NULL,
|
|
"manifest" JSONB NOT NULL,
|
|
|
|
CONSTRAINT "UnimportedGameVersion_pkey" PRIMARY KEY ("id")
|
|
);
|
|
|
|
-- CreateIndex
|
|
CREATE INDEX "Game_mName_idx" ON "Game" USING GIST ("mName" gist_trgm_ops(siglen=32));
|
|
|
|
-- CreateIndex
|
|
CREATE INDEX "GameTag_name_idx" ON "GameTag" USING GIST ("name" gist_trgm_ops(siglen=32));
|
|
|
|
-- AddForeignKey
|
|
ALTER TABLE "UnimportedGameVersion" ADD CONSTRAINT "UnimportedGameVersion_gameId_fkey" FOREIGN KEY ("gameId") REFERENCES "Game"("id") ON DELETE CASCADE ON UPDATE CASCADE;
|