createdAt:{
type: db.Sequelize.DATE(3),
unique: false,
allowNull: false
}
so basically what was throwing the error was the DATE(3).
I had MySQL 5.5 installed and dates to the millisecond aren't supported until 5.7
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.