ALTER TABLE group_chat_messages ADD COLUMN IF NOT EXISTS user_id INT NULL;
ALTER TABLE group_chat_messages ADD COLUMN IF NOT EXISTS employee_id INT NULL;
ALTER TABLE group_chat_messages ADD COLUMN IF NOT EXISTS user_name VARCHAR(200) NOT NULL DEFAULT 'User';
ALTER TABLE group_chat_messages ADD COLUMN IF NOT EXISTS user_role VARCHAR(80) NOT NULL DEFAULT 'user';
ALTER TABLE group_chat_messages ADD COLUMN IF NOT EXISTS source VARCHAR(30) NOT NULL DEFAULT 'web';
ALTER TABLE group_chat_messages ADD COLUMN IF NOT EXISTS status VARCHAR(30) NOT NULL DEFAULT 'sent';
ALTER TABLE group_chat_messages ADD COLUMN IF NOT EXISTS telegram_update_id BIGINT NULL;
ALTER TABLE group_chat_messages ADD COLUMN IF NOT EXISTS telegram_message_id BIGINT NULL;
ALTER TABLE group_chat_messages ADD COLUMN IF NOT EXISTS telegram_chat_id VARCHAR(80) NULL;
