ShiShiYiBan/sql/mysql/haoka_demo.sql

39 lines
1.5 KiB
MySQL
Raw Normal View History

2024-12-14 15:02:19 +08:00
/*
Navicat Premium Dump SQL
Source Server : 120.46.194.67
Source Server Type : MySQL
Source Server Version : 50744 (5.7.44)
Source Host : 120.46.194.67:3306
Source Schema : haoka
Target Server Type : MySQL
Target Server Version : 50744 (5.7.44)
File Encoding : 65001
Date: 11/12/2024 13:56:34
*/
SET NAMES utf8mb4;
SET FOREIGN_KEY_CHECKS = 0;
-- ----------------------------
-- Table structure for haoka_demo
-- ----------------------------
DROP TABLE IF EXISTS `haoka_demo`;
CREATE TABLE `haoka_demo` (
`id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT '编号',
`name` text CHARACTER SET latin1 COLLATE latin1_swedish_ci NOT NULL COMMENT '名字',
`age` int(11) NOT NULL COMMENT '年龄',
`agent` tinyint(4) NOT NULL COMMENT '性别',
`creator` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '创建者',
`create_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`updater` varchar(64) CHARACTER SET utf8mb4 COLLATE utf8mb4_unicode_ci NULL DEFAULT '' COMMENT '更新者',
`update_time` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
`deleted` bit(1) NOT NULL DEFAULT b'0' COMMENT '是否删除',
`tenant_id` bigint(20) NOT NULL DEFAULT 0 COMMENT '租户编号',
PRIMARY KEY (`id`) USING BTREE
) ENGINE = InnoDB AUTO_INCREMENT = 1 CHARACTER SET = latin1 COLLATE = latin1_swedish_ci COMMENT = '好卡案例' ROW_FORMAT = Dynamic;
SET FOREIGN_KEY_CHECKS = 1;