xuankuang_ddl_20230904.sql 1.1 KB

12345678910111213141516
  1. CREATE TABLE if not exists `car_info` (
  2. `id` int(11) NOT NULL AUTO_INCREMENT,
  3. `carNo` int(11) DEFAULT NULL COMMENT '车编号',
  4. `warehouse_id` int(11) DEFAULT NULL COMMENT '仓库编号',
  5. `state` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT '1' COMMENT '状态',
  6. `active_flag` varchar(10) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT 'Y' COMMENT '是否启用',
  7. `userdefine1` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  8. `userdefine2` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  9. `userdefine3` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  10. `userdefine4` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  11. `userdefine5` varchar(255) CHARACTER SET utf8mb4 COLLATE utf8mb4_general_ci DEFAULT NULL,
  12. `battery` int(11) DEFAULT NULL COMMENT '电池',
  13. `x` int(11) DEFAULT NULL COMMENT 'x轴',
  14. `y` int(11) DEFAULT NULL COMMENT 'y轴',
  15. PRIMARY KEY (`id`) USING BTREE
  16. ) ENGINE=InnoDB AUTO_INCREMENT=3 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_general_ci ROW_FORMAT=DYNAMIC;