peewee 时间字段设置自动更新
来源:23-2 user表结构设计和生成

life小小袁
2021-01-12
老师您好,现在一般项目中的表里面都会有创建时间,更新时间和假删标识符,我想把更新时间设置为 on update current_timestamp, peewee 怎么设置呀,不想通过代码来控制
写回答
1回答
-
bobby
2021-01-14
022021-03-01
相似问题
peewee 时间字段设置自动更新
来源:23-2 user表结构设计和生成
life小小袁
2021-01-12
老师您好,现在一般项目中的表里面都会有创建时间,更新时间和假删标识符,我想把更新时间设置为 on update current_timestamp, peewee 怎么设置呀,不想通过代码来控制
1回答
bobby
2021-01-14
相似问题