📅  最后修改于: 2022-03-11 14:57:13.034000             🧑  作者: Mango
const sequelize = new Sequelize('connectionUri', {
define: {
timestamps: false // true by default
}
});
const User = sequelize.define('user', {}); // timestamps is false by default
const Post = sequelize.define('post', {}, {
timestamps: true // timestamps will now be true
});