change index person
This commit is contained in:
No files matched your search
@@ -0,0 +1,4 @@
|
||||
-- Modify "Person" table
|
||||
ALTER TABLE "public"."Person" DROP CONSTRAINT "uni_Person_ResidentIdentityNumber", ALTER COLUMN "ResidentIdentityNumber" TYPE text;
|
||||
-- Create index "idx_resident_identity" to table: "Person"
|
||||
CREATE UNIQUE INDEX "idx_resident_identity" ON "public"."Person" ("ResidentIdentityNumber") WHERE ("DeletedAt" IS NULL);
|
||||
Reference in New Issue
Block a user