Skip to content
Merged
Show file tree
Hide file tree
Changes from 8 commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,8 @@
"prisma:studio": "prisma studio --port 5555",
"postinstall": "npm run prisma:generate",
"db:migrate-to-identity": "npx ts-node scripts/migrate-to-identity.ts",
"db:load-to-identity": "npx ts-node scripts/load-to-identity.ts",
"db:load-to-identity": "npx ts-node scripts/load-to-identity.ts",
"db:backfill-security-user": "npx ts-node scripts/backfill-security-user.ts",
"test:postman:roles": "newman run 'doc/roles api.postman_collection.json' -e doc/postman_environment.json -r cli,json --reporter-json-export roles-report.json",
"test:postman:users": "newman run doc/users.postman_collection.json -e doc/postman_environment.json -r cli,json --reporter-json-export users-report.json",
"test:postman:group": "newman run \"doc/User GroupResource - Topcoder.postman_collection.json\" -e doc/postman_environment.json -r cli,json --reporter-json-export GroupResource-report.json",
Expand Down
17 changes: 17 additions & 0 deletions prisma/migrations/20251111223415_drift_fix/migration.sql
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
-- CreateIndex
CREATE INDEX "email_user_id_email_type_id_status_id_idx" ON "identity"."email"("user_id", "email_type_id", "status_id");

-- CreateIndex
CREATE INDEX "email_address_status_id_idx" ON "identity"."email"("address", "status_id");

-- CreateIndex
CREATE INDEX "role_assignment_subject_id_subject_type_idx" ON "identity"."role_assignment"("subject_id", "subject_type");

-- CreateIndex
CREATE INDEX "user_status_handle_lower_idx" ON "identity"."user"("status", "handle_lower");

-- CreateIndex
CREATE INDEX "user_email_xref_user_id_status_id_idx" ON "identity"."user_email_xref"("user_id", "status_id");

-- CreateIndex
CREATE INDEX "user_social_login_social_user_id_social_login_provider_id_idx" ON "identity"."user_social_login"("social_user_id", "social_login_provider_id");
Loading
Loading