5b2ebd1f44
- Introduced a new `channel` field in multiple request and message structures to track the source channel (e.g., "web", "api", "im"). - Updated frontend API calls and chat components to include the `channel` parameter, ensuring consistent channel tracking in user messages. - Enhanced localization files to support channel labels in English, Korean, Russian, and Chinese. - Added database migration scripts to incorporate the `channel` column in the messages table, facilitating the storage of channel information. - Refactored related functions and components to accommodate the new channel feature, improving overall message context and tracking.
4 lines
152 B
SQL
4 lines
152 B
SQL
-- Migration: 000025_message_channel (rollback)
|
|
-- Description: Remove channel column from messages
|
|
ALTER TABLE messages DROP COLUMN IF EXISTS channel;
|