Created
March 16, 2025 10:57
-
-
Save ronakjain2012/0ba2ead38e7f2adbf1530435847a8a6a to your computer and use it in GitHub Desktop.
logger table structure, Log table structure for event or activity logging
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
-- scriptdb.logs definition | |
CREATE TABLE `logs` ( | |
`id` int NOT NULL AUTO_INCREMENT, | |
`traceId` text, | |
`eventId` text, | |
`eventName` text, | |
`actionType` text, | |
`userId` text, | |
`msisdn` text, | |
`key1` text, | |
`key2` text, | |
`value1` text, | |
`value2` text, | |
`source` text, | |
`status` text, | |
`createdAt` datetime NOT NULL, | |
PRIMARY KEY (`id`) | |
) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_0900_ai_ci; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment