nxtgauge-backend-rust/crates/db/migrations
Ashwin Kumar Sivakumar 94a8a1096a fix: three more already-deployed migrations unconditionally ALTERed tables that were never created
Following the reference_numbers fix, audited every active (non .skip)
migration for the same failure shape — ALTER/CREATE TRIGGER against
lead_requests, tracecoin_wallets, tracecoin_ledger, or job_applications
without ever creating them — since this codebase has a repeated pattern
of table-creation migrations getting silently disabled (renamed .skip)
after the code that depends on them was already written. Found three
more, ALL already pushed to origin, meaning they've likely been
breaking the migration chain since the date each was deployed:

- 20260317195000_profession_specific_profiles.up.sql (Mar 17) — ALTERs
  lead_requests twice. Earliest failure point found for the lead_requests
  chain. Now self-creates a minimal lead_requests table first (no FK to
  `leads`, which isn't created until June 10 — well after this migration).
- 20260318233000_tracecoin_ledger_immutable.up.sql (Mar 18) — creates
  immutability triggers ON tracecoin_ledger, assuming it exists. Now
  self-creates tracecoin_wallets/tracecoin_ledger first, matching the
  column names (transaction_type/reference_type) the Rust code actually
  uses — the only schema that ever existed for these tables (in a
  disabled .skip migration) used stale names (type/reason).
- 20260425000000_ai_usage.up.sql (Apr 25) — ALTERs job_applications
  inside a BEGIN/COMMIT block, so this failure was also rolling back
  company_ai_usage/job_seeker_ai_usage creation in the same file. Now
  self-creates job_applications first.

Each later migration that also touches these tables (this session's
customer/job-seeker/lead_requests fixes) now uses ADD COLUMN IF NOT
EXISTS instead of assuming its own CREATE TABLE ran, so the schema
converges to the same end state regardless of which migration actually
created the table first.

Every touched migration uses IF NOT EXISTS / idempotent guards
throughout, so this is safe to apply whether or not any of these tables
already exist in the real database.
2026-07-21 02:18:23 +05:30
..
20260317000000_init_config_schema.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317000000_init_config_schema.up.sql feat: commit remaining service files, migrations, and model updates 2026-03-18 22:59:47 +01:00
20260317000001_init_users_schema.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317000001_init_users_schema.up.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317000002_init_photographer_schema.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317000002_init_photographer_schema.up.sql feat: commit remaining service files, migrations, and model updates 2026-03-18 22:59:47 +01:00
20260317000003_init_tutor_schema.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317000003_init_tutor_schema.up.sql feat: commit remaining service files, migrations, and model updates 2026-03-18 22:59:47 +01:00
20260317000004_init_company_schema.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317000004_init_company_schema.up.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184130_init_job_seeker_schema.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184130_init_job_seeker_schema.up.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184230_init_customer_schema.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184230_init_customer_schema.up.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184330_init_makeup_artist_schema.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184330_init_makeup_artist_schema.up.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184430_init_developer_schema.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184430_init_developer_schema.up.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184530_init_video_editor_schema.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184530_init_video_editor_schema.up.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184630_init_graphic_designer_schema.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184630_init_graphic_designer_schema.up.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184730_init_social_media_manager_schema.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184730_init_social_media_manager_schema.up.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184830_init_fitness_trainer_schema.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184830_init_fitness_trainer_schema.up.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184930_init_catering_service_schema.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317184930_init_catering_service_schema.up.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317190000_complete_users_schema.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317190000_complete_users_schema.up.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317190100_jobs_and_applications.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317190100_jobs_and_applications.up.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317190200_requirements_and_leads.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317190200_requirements_and_leads.up.sql.skip feat: pricing packages with multi-select roles, lead requests, mock checkout 2026-04-13 01:36:13 +02:00
20260317190300_portfolio_payments.down.sql feat: commit remaining service files, migrations, and model updates 2026-03-18 22:59:47 +01:00
20260317190300_portfolio_payments.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260317190400_notifications.down.sql feat: commit remaining service files, migrations, and model updates 2026-03-18 22:59:47 +01:00
20260317190400_notifications.up.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317195000_profession_specific_profiles.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317195000_profession_specific_profiles.up.sql fix: three more already-deployed migrations unconditionally ALTERed tables that were never created 2026-07-21 02:18:23 +05:30
20260317201500_user_verification_tokens.down.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317201500_user_verification_tokens.up.sql feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01:00
20260317202000_reviews.down.sql feat: commit remaining service files, migrations, and model updates 2026-03-18 22:59:47 +01:00
20260317202000_reviews.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260317202100_knowledge_base.down.sql feat: commit remaining service files, migrations, and model updates 2026-03-18 22:59:47 +01:00
20260317202100_knowledge_base.up.sql feat: commit remaining service files, migrations, and model updates 2026-03-18 22:59:47 +01:00
20260317202200_support_tickets.down.sql feat: commit remaining service files, migrations, and model updates 2026-03-18 22:59:47 +01:00
20260317202200_support_tickets.up.sql feat: commit remaining service files, migrations, and model updates 2026-03-18 22:59:47 +01:00
20260317202300_coupons_discounts.down.sql feat: commit remaining service files, migrations, and model updates 2026-03-18 22:59:47 +01:00
20260317202300_coupons_discounts.up.sql feat: commit remaining service files, migrations, and model updates 2026-03-18 22:59:47 +01:00
20260317202400_onboarding_states.down.sql feat: commit remaining service files, migrations, and model updates 2026-03-18 22:59:47 +01:00
20260317202400_onboarding_states.up.sql feat: commit remaining service files, migrations, and model updates 2026-03-18 22:59:47 +01:00
20260317202500_profession_profiles_custom_data.down.sql feat: add Redis for OTP, auth tokens, rate limiting, lead dedup and marketplace cache 2026-03-18 22:58:42 +01:00
20260317202500_profession_profiles_custom_data.up.sql feat: add Redis for OTP, auth tokens, rate limiting, lead dedup and marketplace cache 2026-03-18 22:58:42 +01:00
20260318233000_tracecoin_ledger_immutable.down.sql fix: three more already-deployed migrations unconditionally ALTERed tables that were never created 2026-07-21 02:18:23 +05:30
20260318233000_tracecoin_ledger_immutable.up.sql fix: three more already-deployed migrations unconditionally ALTERed tables that were never created 2026-07-21 02:18:23 +05:30
20260319090000_backfill_active_profiles_to_approved.down.sql feat(backend): enforce profile approvals and complete migration approval flows 2026-03-19 00:30:23 +01:00
20260319090000_backfill_active_profiles_to_approved.up.sql feat(backend): enforce profile approvals and complete migration approval flows 2026-03-19 00:30:23 +01:00
20260325100000_internal_roles_extended.down.sql chore: checkpoint current workspace changes 2026-03-25 22:15:07 +01:00
20260325100000_internal_roles_extended.up.sql chore: checkpoint current workspace changes 2026-03-25 22:15:07 +01:00
20260326110000_departments_management_fields.down.sql chore: sync local changes 2026-03-26 20:58:43 +01:00
20260326110000_departments_management_fields.up.sql chore: sync local changes 2026-03-26 20:58:43 +01:00
20260327100000_designations_management_fields.down.sql feat: add designation management CRUD backend 2026-03-27 19:20:55 +01:00
20260327100000_designations_management_fields.up.sql feat: add designation management CRUD backend 2026-03-27 19:20:55 +01:00
20260402030000_strict_employee_separation.down.sql feat(admin): wire management modules to live backend and add UGC role 2026-04-02 13:09:43 +02:00
20260402030000_strict_employee_separation.up.sql fix(db): stop wiping employees table on every migration run, restore phone column 2026-07-19 05:40:48 +05:30
20260402092000_init_activity_logs.up.sql feat(admin): wire management modules to live backend and add UGC role 2026-04-02 13:09:43 +02:00
20260402100000_kb_articles_summary_tags.down.sql feat: add KB and support ticket system 2026-04-02 13:36:12 +02:00
20260402100000_kb_articles_summary_tags.up.sql feat: add KB and support ticket system 2026-04-02 13:36:12 +02:00
20260402110000_support_tickets_fields.down.sql feat: add KB and support ticket system 2026-04-02 13:36:12 +02:00
20260402110000_support_tickets_fields.up.sql feat: add KB and support ticket system 2026-04-02 13:36:12 +02:00
20260402120000_reviews_admin_fields.down.sql Add reviews, coupons, discounts, pricing packages, and reports handlers 2026-04-02 18:09:50 +02:00
20260402120000_reviews_admin_fields.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260402130000_coupons_title_roles.down.sql Add reviews, coupons, discounts, pricing packages, and reports handlers 2026-04-02 18:09:50 +02:00
20260402130000_coupons_title_roles.up.sql Add reviews, coupons, discounts, pricing packages, and reports handlers 2026-04-02 18:09:50 +02:00
20260402140000_discounts_table.down.sql Add reviews, coupons, discounts, pricing packages, and reports handlers 2026-04-02 18:09:50 +02:00
20260402140000_discounts_table.up.sql Add reviews, coupons, discounts, pricing packages, and reports handlers 2026-04-02 18:09:50 +02:00
20260405100000_init_ugc_content_creator_schema.down.sql Add UGC Content Creator microservice (10th professional role) 2026-04-05 21:14:02 +02:00
20260405100000_init_ugc_content_creator_schema.up.sql Add UGC Content Creator microservice (10th professional role) 2026-04-05 21:14:02 +02:00
20260405235734_create_verifications_table.down.sql feat: implement user verification system and database migrations 2026-04-06 03:39:41 +02:00
20260405235734_create_verifications_table.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260408120000_user_settings_and_account_deletion.down.sql feat: extend admin/user flows with settings, verification, and approval updates 2026-04-08 22:40:54 +02:00
20260408120000_user_settings_and_account_deletion.up.sql feat: extend admin/user flows with settings, verification, and approval updates 2026-04-08 22:40:54 +02:00
20260415000000_complete_migration.down.sql feat(db): add complete migration and update extension models to use user_role_profile_id 2026-04-12 23:55:08 +02:00
20260415000000_complete_migration.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260415000001_create_user_sessions.down.sql feat: Add database redesign documentation and Phase 1-2 migrations 2026-04-12 23:21:11 +02:00
20260415000001_create_user_sessions.up.sql feat: Add database redesign documentation and Phase 1-2 migrations 2026-04-12 23:21:11 +02:00
20260415000002_add_users_missing_columns.down.sql feat: Add database redesign documentation and Phase 1-2 migrations 2026-04-12 23:21:11 +02:00
20260415000002_add_users_missing_columns.up.sql feat: Add database redesign documentation and Phase 1-2 migrations 2026-04-12 23:21:11 +02:00
20260415000003_update_departments.down.sql feat: Add database redesign documentation and Phase 1-2 migrations 2026-04-12 23:21:11 +02:00
20260415000003_update_departments.up.sql feat: Add database redesign documentation and Phase 1-2 migrations 2026-04-12 23:21:11 +02:00
20260415000004_update_designations.down.sql feat: Add database redesign documentation and Phase 1-2 migrations 2026-04-12 23:21:11 +02:00
20260415000004_update_designations.up.sql feat: Add database redesign documentation and Phase 1-2 migrations 2026-04-12 23:21:11 +02:00
20260415000005_update_employees.down.sql feat: Add database redesign documentation and Phase 1-2 migrations 2026-04-12 23:21:11 +02:00
20260415000005_update_employees.up.sql feat: Add database redesign documentation and Phase 1-2 migrations 2026-04-12 23:21:11 +02:00
20260415010001_create_user_role_profiles.down.sql feat: Add database redesign documentation and Phase 1-2 migrations 2026-04-12 23:21:11 +02:00
20260415010001_create_user_role_profiles.up.sql feat: Add database redesign documentation and Phase 1-2 migrations 2026-04-12 23:21:11 +02:00
20260415010002_backfill_user_role_profiles.down.sql feat: Add database redesign documentation and Phase 1-2 migrations 2026-04-12 23:21:11 +02:00
20260415010002_backfill_user_role_profiles.up.sql.skip feat: pricing packages with multi-select roles, lead requests, mock checkout 2026-04-13 01:36:13 +02:00
20260415010003_add_user_role_profile_id.down.sql feat: Add database redesign documentation and Phase 1-2 migrations 2026-04-12 23:21:11 +02:00
20260415010003_add_user_role_profile_id.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260415010004_remove_external_links.down.sql feat: Add database redesign documentation and Phase 1-2 migrations 2026-04-12 23:21:11 +02:00
20260415010004_remove_external_links.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260420000001_external_role_management_phase1.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260420000002_cleanup_role_tables.down.sql chore: checkpoint workspace updates 2026-04-26 23:58:43 +02:00
20260420000002_cleanup_role_tables.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260420000003_external_role_modules.down.sql chore: checkpoint workspace updates 2026-04-26 23:58:43 +02:00
20260420000003_external_role_modules.seed.sql chore: checkpoint workspace updates 2026-04-26 23:58:43 +02:00
20260420000003_external_role_modules.seed2.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260420000003_external_role_modules.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260422000000_seed_widgets.seed.sql chore: checkpoint workspace updates 2026-04-26 23:58:43 +02:00
20260422000000_seed_widgets.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260425000000_ai_usage.down.sql Add AI endpoints and gateway route fix 2026-05-01 02:54:42 +02:00
20260425000000_ai_usage.up.sql fix: three more already-deployed migrations unconditionally ALTERed tables that were never created 2026-07-21 02:18:23 +05:30
20260608000000_ai_conversations.down.sql feat(ai): Phase 2 - functional endpoints with personas and pillars 2026-06-08 05:50:17 +05:30
20260608000000_ai_conversations.up.sql feat(ai): Phase 2 - functional endpoints with personas and pillars 2026-06-08 05:50:17 +05:30
20260608010000_ai_feedback.down.sql feat(ai): Phase 3 - RAG, streaming, rate limiting, feedback 2026-06-08 06:15:58 +05:30
20260608010000_ai_feedback.up.sql feat(ai): Phase 3 - RAG, streaming, rate limiting, feedback 2026-06-08 06:15:58 +05:30
20260608020000_ai_phase4_columns.down.sql feat(ai): Phase 4 - multilingual, voice, A/B testing, analytics (with stubs) 2026-06-08 06:41:10 +05:30
20260608020000_ai_phase4_columns.up.sql feat(ai): Phase 4 - multilingual, voice, A/B testing, analytics (with stubs) 2026-06-08 06:41:10 +05:30
20260608030000_ai_ab_tests.down.sql feat(ai): Phase 4 - multilingual, voice, A/B testing, analytics (with stubs) 2026-06-08 06:41:10 +05:30
20260608030000_ai_ab_tests.up.sql feat(ai): Phase 4 - multilingual, voice, A/B testing, analytics (with stubs) 2026-06-08 06:41:10 +05:30
20260608040000_ai_analytics.down.sql feat(ai): Phase 4 - multilingual, voice, A/B testing, analytics (with stubs) 2026-06-08 06:41:10 +05:30
20260608040000_ai_analytics.up.sql feat(ai): Phase 4 - multilingual, voice, A/B testing, analytics (with stubs) 2026-06-08 06:41:10 +05:30
20260610003321_create_leads.down.sql fix(e2e): 14 bug fixes across users, leads, gateway, KB, and reviews 2026-06-10 16:17:10 +02:00
20260610003321_create_leads.up.sql fix(e2e): 14 bug fixes across users, leads, gateway, KB, and reviews 2026-06-10 16:17:10 +02:00
20260610003322_create_lead_requests.down.sql fix(e2e): 14 bug fixes across users, leads, gateway, KB, and reviews 2026-06-10 16:17:10 +02:00
20260610003322_create_lead_requests.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260610150000_fix_ugc_niche_tags.down.sql fix(e2e): 14 bug fixes across users, leads, gateway, KB, and reviews 2026-06-10 16:17:10 +02:00
20260610150000_fix_ugc_niche_tags.up.sql fix(e2e): 14 bug fixes across users, leads, gateway, KB, and reviews 2026-06-10 16:17:10 +02:00
20260614233620_ai_plans_and_limits.down.sql feat(ai): complete AI plans/credits implementation and build tooling 2026-06-15 06:15:49 +05:30
20260614233620_ai_plans_and_limits.up.sql fix(db): make ai_plans_and_limits migration idempotent 2026-07-19 03:14:02 +05:30
20260615060600_ai_credit_packages.down.sql feat(ai): complete AI plans/credits implementation and build tooling 2026-06-15 06:15:49 +05:30
20260615060600_ai_credit_packages.up.sql fix(db): make three more migrations idempotent; log swallowed login DB error 2026-07-19 04:40:31 +05:30
20260626000000_payu_rename_columns.down.sql feat: profile photo upload, PDF resume generation, AI auto-apply, schema fixes 2026-07-02 13:31:06 +02:00
20260626000000_payu_rename_columns.up.sql fix(db): make three more migrations idempotent; log swallowed login DB error 2026-07-19 04:40:31 +05:30
20260627000000_tracecoin_security_hardening.down.sql feat: profile photo upload, PDF resume generation, AI auto-apply, schema fixes 2026-07-02 13:31:06 +02:00
20260627000000_tracecoin_security_hardening.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260627010000_lead_request_reserve_linkage.down.sql feat: profile photo upload, PDF resume generation, AI auto-apply, schema fixes 2026-07-02 13:31:06 +02:00
20260627010000_lead_request_reserve_linkage.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260627020000_invoice_hardening.down.sql feat: profile photo upload, PDF resume generation, AI auto-apply, schema fixes 2026-07-02 13:31:06 +02:00
20260627020000_invoice_hardening.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260627030000_wallet_full.down.sql feat: profile photo upload, PDF resume generation, AI auto-apply, schema fixes 2026-07-02 13:31:06 +02:00
20260627030000_wallet_full.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260702000000_job_seeker_resume_url.down.sql feat: profile photo upload, PDF resume generation, AI auto-apply, schema fixes 2026-07-02 13:31:06 +02:00
20260702000000_job_seeker_resume_url.up.sql feat: profile photo upload, PDF resume generation, AI auto-apply, schema fixes 2026-07-02 13:31:06 +02:00
20260703210000_ai_credits_wallet.down.sql feat: Complete Ask Ash AI Credits implementation on high-performance branch (Tasks 1-10) 2026-07-06 01:49:16 +05:30
20260703210000_ai_credits_wallet.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260703220000_ai_credits_seed_features.down.sql feat: Complete Ask Ash AI Credits implementation on high-performance branch (Tasks 1-10) 2026-07-06 01:49:16 +05:30
20260703220000_ai_credits_seed_features.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260705110000_ai_credit_packages.down.sql feat: Complete Ask Ash AI Credits implementation on high-performance branch (Tasks 1-10) 2026-07-06 01:49:16 +05:30
20260705110000_ai_credit_packages.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260706100000_ai_usage_logs_preview.up.sql feat: Complete Ask Ash AI Credits implementation on high-performance branch (Tasks 1-10) 2026-07-06 01:49:16 +05:30
20260706200000_ai_refunds.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260706300000_ai_coupons_promotions.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260706400000_ai_subscription_lifecycle.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260706500000_ai_token_cost_engine.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260706600000_ai_observability.up.sql.skip fix: skip broken migrations that reference dropped professionals table 2026-07-17 00:48:50 +02:00
20260716500000_users_litellm_key.down.sql Issue each account its own LiteLLM virtual key instead of the shared master key 2026-07-16 20:29:00 +05:30
20260716500000_users_litellm_key.up.sql fix(db): make three more migrations idempotent; log swallowed login DB error 2026-07-19 04:40:31 +05:30
20260718210823_fix_verification_logs_fk.down.sql fix(db): point verification_logs FK at verifications, not legacy verification_requests 2026-07-19 03:01:25 +05:30
20260718210823_fix_verification_logs_fk.up.sql fix(db): point verification_logs FK at verifications, not legacy verification_requests 2026-07-19 03:01:25 +05:30
20260719000926_employees_phone_column.down.sql fix(db): stop wiping employees table on every migration run, restore phone column 2026-07-19 05:40:48 +05:30
20260719000926_employees_phone_column.up.sql fix(db): stop wiping employees table on every migration run, restore phone column 2026-07-19 05:40:48 +05:30
20260719120000_reference_numbers.down.sql fix: lead_requests table never existed, and reference_numbers migration was unconditionally broken 2026-07-21 02:00:23 +05:30
20260719120000_reference_numbers.up.sql fix: lead_requests table never existed, and reference_numbers migration was unconditionally broken 2026-07-21 02:00:23 +05:30
20260721000000_fix_job_seeker_profile_and_applications.down.sql fix: lead_requests table never existed, and reference_numbers migration was unconditionally broken 2026-07-21 02:00:23 +05:30
20260721000000_fix_job_seeker_profile_and_applications.up.sql fix: lead_requests table never existed, and reference_numbers migration was unconditionally broken 2026-07-21 02:00:23 +05:30
20260721010000_profession_profiles_user_role_profile_id.down.sql fix: professionals (photographer, tutor, developer, etc.) couldn't submit profiles/documents 2026-07-21 01:19:49 +05:30
20260721010000_profession_profiles_user_role_profile_id.up.sql fix: professionals (photographer, tutor, developer, etc.) couldn't submit profiles/documents 2026-07-21 01:19:49 +05:30
20260721020000_customer_profiles_status.down.sql fix: customer document submission and profile verification 2026-07-21 01:39:25 +05:30
20260721020000_customer_profiles_status.up.sql fix: customer document submission and profile verification 2026-07-21 01:39:25 +05:30
20260721030000_create_lead_requests.down.sql fix: three more already-deployed migrations unconditionally ALTERed tables that were never created 2026-07-21 02:18:23 +05:30
20260721030000_create_lead_requests.up.sql fix: three more already-deployed migrations unconditionally ALTERed tables that were never created 2026-07-21 02:18:23 +05:30