Files
2026-07-13 13:32:57 +08:00

13 lines
451 B
SQL

/*
Warnings:
- A unique constraint covering the columns `[slug]` on the table `Project` will be added. If there are existing duplicate values, this will fail.
- Added the required column `slug` to the `Project` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "Project" ADD COLUMN "slug" TEXT NOT NULL;
-- CreateIndex
CREATE UNIQUE INDEX "Project_slug_key" ON "Project"("slug");