init.sql 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /*
  2. Navicat Premium Data Transfer
  3. Source Server : localhost
  4. Source Server Type : MySQL
  5. Source Server Version : 80031
  6. Source Host : localhost:3306
  7. Source Schema : grain_search
  8. Target Server Type : MySQL
  9. Target Server Version : 80031
  10. File Encoding : 65001
  11. Date: 20/09/2023 09:29:45
  12. */
  13. SET NAMES utf8mb4;
  14. SET FOREIGN_KEY_CHECKS = 0;
  15. -- ----------------------------
  16. -- Table structure for test_table
  17. -- ----------------------------
  18. DROP TABLE IF EXISTS `test_table`;
  19. CREATE TABLE `test_table` (
  20. `id` bigint NOT NULL AUTO_INCREMENT,
  21. `content` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL COMMENT '内容',
  22. `creator_id` bigint NULL DEFAULT NULL COMMENT '创建人id',
  23. `create_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  24. `create_time` datetime NULL DEFAULT NULL,
  25. `update_by` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci NULL DEFAULT NULL,
  26. `update_time` datetime NULL DEFAULT NULL,
  27. `has_deleted` int NULL DEFAULT 0,
  28. PRIMARY KEY (`id`) USING BTREE
  29. ) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = utf8mb4 COLLATE = utf8mb4_bin ROW_FORMAT = Dynamic;
  30. -- ----------------------------
  31. -- Records of test_table
  32. -- ----------------------------
  33. SET FOREIGN_KEY_CHECKS = 1;