landsandboat/sql/help_desk.sql
sruon e04060b827 Help Desk support
GP_CLI_COMMAND_RESCUE optional self-service unstuck
FAQ_GMCALL/FAQ_GMPARAM/ACK_GMMSG C2S packets to handle creating requests.
FAQ_GMPARAM/SET_GMMSG S2C packets to handle forwarding responses to clients.

Co-Authored-By: atom0s <atom0s@users.noreply.github.com>
2026-02-14 23:33:03 -07:00

16 lines
546 B
SQL

--
-- Table structure for table `help_desk`
--
DROP TABLE IF EXISTS `help_desk`;
CREATE TABLE `help_desk` (
`id` int(10) unsigned NOT NULL AUTO_INCREMENT,
`charid` int(10) unsigned NOT NULL,
`message` varchar(1024) NOT NULL,
`response` varchar(1024) DEFAULT NULL,
`created_at` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP,
`responded_at` datetime DEFAULT NULL,
`deleted_at` datetime DEFAULT NULL,
PRIMARY KEY (`id`),
KEY `idx_pending` (`charid`, `deleted_at`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci;