2024-11-27 07:48:16 +05:00

12 lines
305 B
SQL

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