tx_logger.sql 907 B

12345678910111213141516171819
  1. CREATE DATABASE IF NOT EXISTS `mics_tx_logger` DEFAULT CHARACTER SET = utf8;
  2. Use `mics_tx_logger`;
  3. -- ----------------------------
  4. -- Table structure for t_logger
  5. -- ----------------------------
  6. DROP TABLE IF EXISTS `t_logger`;
  7. CREATE TABLE `t_logger` (
  8. `id` bigint(20) NOT NULL AUTO_INCREMENT,
  9. `group_id` varchar(64) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  10. `unit_id` varchar(32) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  11. `tag` varchar(50) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  12. `content` varchar(1024) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  13. `create_time` varchar(30) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  14. `app_name` varchar(128) CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL,
  15. PRIMARY KEY (`id`) USING BTREE
  16. ) ENGINE = InnoDB AUTO_INCREMENT = 19 CHARACTER SET = utf8 COLLATE = utf8_general_ci ROW_FORMAT = Dynamic;