nxtgauge-backend-rust/crates/db/migrations
Ashwin Kumar 96f9da2cdb feat: add KB and support ticket system
- 2 new migrations: summary/tags columns on kb_articles, description/requester fields on support_tickets
- handlers/kb.rs: public routes (GET /api/kb/categories|articles|articles/:slug) + admin CRUD (/api/admin/kb/*)
- handlers/support.rs: user ticket routes + admin support-cases CRUD with internal notes
- Registered all new routes in users service main.rs
- Gateway resolve_upstream: /api/kb/*, /api/support/*, /api/admin/kb/*, /api/admin/support-cases/* → users service
- scripts/seed_kb.sql: 8 categories, 28 full-length published articles covering all user roles

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-04-02 13:36:12 +02:00
..
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 feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01: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 feat: complete rust microservices migration with real db logic 2026-03-17 20:42:51 +01: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 chore: checkpoint current workspace changes 2026-03-22 15:55:29 +01:00
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 chore: checkpoint current workspace changes 2026-03-22 15:55:29 +01: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 feat(backend): enforce profile approvals and complete migration approval flows 2026-03-19 00:30:23 +01:00
20260318233000_tracecoin_ledger_immutable.up.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.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 feat(admin): wire management modules to live backend and add UGC role 2026-04-02 13:09:43 +02:00
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