- 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>
7 lines
220 B
SQL
7 lines
220 B
SQL
ALTER TABLE support_tickets
|
|
DROP COLUMN IF EXISTS description,
|
|
DROP COLUMN IF EXISTS requester_name,
|
|
DROP COLUMN IF EXISTS requester_email;
|
|
|
|
ALTER TABLE support_tickets
|
|
ALTER COLUMN user_id SET NOT NULL;
|