mirror of
https://github.com/i701/sarlink-portal.git
synced 2025-02-23 16:42:00 +00:00
12 lines
305 B
SQL
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");
|