MOPC-App/prisma/migrations
Matt 5e0c8b2dfe Add schema reconciliation migration and file removal in bulk upload
Migration:
- Add standalone hasConflict index on ConflictOfInterest
- Ensure roundId is nullable on ConflictOfInterest
- Drop stale composite roundId_hasConflict index

Bulk upload:
- Add trash icon button to remove uploaded files
- Uses existing file.delete endpoint with audit logging

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 13:46:12 +01:00
..
20260130000000_init Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
20260202000000_prototype1_improvements Fix migration: skip inviteToken columns and index that already exist in production 2026-02-02 17:17:55 +01:00
20260202100000_add_award_ai_toggle Make migrations idempotent and add missing tables 2026-02-05 11:09:37 +01:00
20260202120000_decouple_projects_from_rounds Make migrations idempotent and add missing tables 2026-02-05 11:09:37 +01:00
20260203000000_add_ai_usage_log Make migrations idempotent and add missing tables 2026-02-05 11:09:37 +01:00
20260203100000_add_invite_token_columns Fix multiple UI/UX issues and invite token migration 2026-02-03 15:25:28 +01:00
20260203200000_add_onboarding_system Add background filtering jobs, improved date picker, AI reasoning display 2026-02-03 19:48:41 +01:00
20260203210000_add_filtering_job Add background filtering jobs, improved date picker, AI reasoning display 2026-02-03 19:48:41 +01:00
20260203220000_add_in_app_notifications Make migrations idempotent and add missing tables 2026-02-05 11:09:37 +01:00
20260204000000_add_round_entry_notification Make migrations idempotent and add missing tables 2026-02-05 11:09:37 +01:00
20260204100000_add_round_sort_order Make migrations idempotent and add missing tables 2026-02-05 11:09:37 +01:00
20260204140000_add_user_bio Add per-round assignment constraints (min/max per judge) 2026-02-04 16:01:18 +01:00
20260204150000_add_assignment_constraints Add per-round assignment constraints (min/max per judge) 2026-02-04 16:01:18 +01:00
20260205000000_add_project_tag_and_assignment_job Make migrations idempotent and add missing tables 2026-02-05 11:09:37 +01:00
20260205100000_add_tagging_job Convert AI tagging to background job with progress tracking 2026-02-05 11:48:57 +01:00
20260205200000_add_user_country Add migration for User.country column 2026-02-05 13:58:11 +01:00
20260205210000_fix_assignment_job_updated_at Fix AI assignment errors and tag matching 2026-02-05 14:14:19 +01:00
20260205220000_add_suggestions_to_assignment_job Fix AI suggestions not displaying after job completion 2026-02-05 14:38:43 +01:00
20260205223133_add_15_features Make all migration SQL files idempotent for clean prod deploys 2026-02-16 13:09:41 +01:00
20260207000000_universal_apply_programid Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
20260208000000_add_missing_fks_indexes Make all migration SQL files idempotent for clean prod deploys 2026-02-16 13:09:41 +01:00
20260210000000_fix_round_delete_cascades Make all migration SQL files idempotent for clean prod deploys 2026-02-16 13:09:41 +01:00
20260211000000_add_file_requirements Make all migration SQL files idempotent for clean prod deploys 2026-02-16 13:09:41 +01:00
20260211100000_add_missing_schema_elements Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
20260211120000_add_award_vote_composite_index Make all migration SQL files idempotent for clean prod deploys 2026-02-16 13:09:41 +01:00
20260212000000_add_live_voting_enhancements Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
20260213000000_add_pipeline_stage_system Fix migration: drop RoundTemplate before RoundType enum 2026-02-13 19:45:34 +01:00
20260214000000_simplify_routing_to_award_assignment Make all migration SQL files idempotent for clean prod deploys 2026-02-16 13:09:41 +01:00
20260215000000_add_competition_round_architecture Make all migration SQL files idempotent for clean prod deploys 2026-02-16 13:09:41 +01:00
20260215100000_add_self_service_fields Make all migration SQL files idempotent for clean prod deploys 2026-02-16 13:09:41 +01:00
20260215200000_phase7_fk_renames Make all migration SQL files idempotent for clean prod deploys 2026-02-16 13:09:41 +01:00
20260215200001_phase7_drop_legacy Competition/Round architecture: full platform rewrite (Phases 1-9) 2026-02-15 23:04:15 +01:00
20260216000000_add_projectfile_pagecount Add missing migration for ProjectFile.pageCount column 2026-02-16 13:23:18 +01:00
20260217000000_schema_reconciliation Add schema reconciliation migration and file removal in bulk upload 2026-02-16 13:46:12 +01:00
migration_lock.toml Apply full refactor updates plus pipeline/email UX confirmations 2026-02-14 15:26:42 +01:00