File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
prisma/migrations/20260325000000_pipeline_version_index_and_user_relation Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change 11-- AlterTable: make createdById nullable (required for SetNull on delete)
22ALTER TABLE " PipelineVersion" ALTER COLUMN " createdById" DROP NOT NULL ;
33
4- -- CreateIndex: composite index for version history queries
5- CREATE INDEX "PipelineVersion_pipelineId_version_idx " ON " PipelineVersion " ( " pipelineId " , " version " );
4+ -- CreateIndex: composite index already created by 20260325000000_add_pipeline_performance_indexes
5+ -- Skipped: CREATE INDEX "PipelineVersion_pipelineId_version_idx" (duplicate)
66
77-- AddForeignKey: link PipelineVersion.createdById → User.id
88ALTER TABLE " PipelineVersion" ADD CONSTRAINT " PipelineVersion_createdById_fkey" FOREIGN KEY (" createdById" ) REFERENCES " User" (" id" ) ON DELETE SET NULL ON UPDATE CASCADE;
You can’t perform that action at this time.
0 commit comments