Files
wedding-planner/prisma/migrations/20260127213236_add_slug_to_vendor/migration.sql

12 lines
305 B
SQL

/*
Warnings:
- A unique constraint covering the columns `[slug]` on the table `Vendor` will be added. If there are existing duplicate values, this will fail.
*/
-- AlterTable
ALTER TABLE "Vendor" ADD COLUMN "slug" TEXT;
-- CreateIndex
CREATE UNIQUE INDEX "Vendor_slug_key" ON "Vendor"("slug");