File tree Expand file tree Collapse file tree
migrations/20250626092518_app_routing_forms_form_response_uuid_nullable Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ -- DropIndex
2+ DROP INDEX IF EXISTS " App_RoutingForms_FormResponse_uuid_key" ;
3+
4+ -- DropIndex
5+ DROP INDEX IF EXISTS " RoutingFormResponseDenormalized_uuid_key" ;
6+
7+ -- AlterTable
8+ ALTER TABLE " App_RoutingForms_FormResponse" ALTER COLUMN " uuid" DROP NOT NULL ;
9+
10+ -- AlterTable
11+ ALTER TABLE " RoutingFormResponseDenormalized" ALTER COLUMN " uuid" DROP NOT NULL ;
Original file line number Diff line number Diff line change @@ -1159,7 +1159,7 @@ model App_RoutingForms_Form {
11591159
11601160model App_RoutingForms_FormResponse {
11611161 id Int @id @default (autoincrement () )
1162- uuid String @unique @default (uuid () )
1162+ uuid String ? @default (uuid () )
11631163 formFillerId String @default (cuid () )
11641164 form App_RoutingForms_Form @relation (fields : [formId ] , references : [id ] , onDelete : Cascade )
11651165 formId String
@@ -1240,7 +1240,7 @@ view RoutingFormResponse {
12401240
12411241model RoutingFormResponseDenormalized {
12421242 id Int @id
1243- uuid String @unique
1243+ uuid String ?
12441244 formId String
12451245 formName String
12461246 formTeamId Int ?
You can’t perform that action at this time.
0 commit comments