当前位置:网站首页>mysql自动生成创建时间和更新时间
mysql自动生成创建时间和更新时间
2022-07-24 05:48:00 【[email protected]】
1、上sql脚本
CREATE TABLE `t_respondent_ws_feedback` (
`id` varchar(36) NOT NULL,
`case_order_no` varchar(36) DEFAULT NULL COMMENT '案件流水号',
`feedback_comments` varchar(300) DEFAULT NULL COMMENT '反馈意见',
`feedback_evidenceId` varchar(300) DEFAULT NULL COMMENT '反馈材料id',
`operator_id` varchar(36) DEFAULT NULL COMMENT '创建人id',
//主要是下面语句实现自动生成
`create_time` datetime DEFAULT CURRENT_TIMESTAMP COMMENT '创建时间',
`update_time` datetime DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP COMMENT '更新时间',
PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 ROW_FORMAT=DYNAMIC COMMENT='被申请人-文书反馈';
2、详细介绍
版权声明
本文为[[email protected]微胖子]所创,转载请带上原文链接,感谢
https://blog.csdn.net/zouyang920/article/details/125938815
边栏推荐
- Talk about strong cache and negotiation cache
- Learn more about when to use MySQL two locks (table lock and row lock)
- Experiment: creation, expansion, and deletion of LVM logical volumes
- (static, dynamic, file) three versions of address book
- kubernetes急速安装
- These 10 kinds of timed tasks have been learned, and you can float directly
- Redis distributed cache learning notes
- xxl执行节点错误日志刷屏
- js和ts学习总结
- ESP32超详细学习记录:NTP同步时间
猜你喜欢

创建WPF项目
![[lvgl layout] grid layout](/img/36/47f586f3dc1a114ed7775c4e190872.png)
[lvgl layout] grid layout

Today, let's talk about the underlying architecture design of MySQL database. How much do you know?

It can be written in 10 minutes -- 25~30k foreign enterprise recruitment interview questions, isn't it easy~

【USB电压电流表】基于STM32F103C8T6 for Arduino

OSS authorizes a single bucket permission

Kubernetes' deployment, service concept, dynamic capacity expansion

(static, dynamic, file) three versions of address book

(静态,动态,文件)三个版本的通讯录
![[lvgl (important)] style attribute API function and its parameters](/img/55/f25a510cf04caff7ee15e72360c3a1.png)
[lvgl (important)] style attribute API function and its parameters
随机推荐
Today, let's talk about the underlying architecture design of MySQL database. How much do you know?
我有 7种 实现web实时消息推送的方案,7种!
JMeter distributed pressure measurement
Speed pointer in JS linked list
【LVGL布局】网格布局
Identification of Chinese medicinal materials
SparkSQL核心使用,220724,
mysql获取自增行标(区别mysql版本)
[lvgl layout] flexible layout
ESP32超详细学习记录:NTP同步时间
OSS authorizes a single bucket permission
The character that appears the most times in the JS output string
Redis数据类型-列表List
Redis basic type - combined with set
【LVGL(3)】设置对象大小、位置、盒子模型、状态
Niuke net brush questions
Redis特殊数据类型-BitMap
You don't know these pits. You really don't dare to use BigDecimal
Explain the event cycle mechanism and differences between browser and node in detail
Directory and file management