sequelize model:create --name tasks --force --attributes "title:string,description:text, data_type:text, shift:str
ing, date:date, start_time:time, end_time:time, type:string, location:string, visible_to_helpers:date, reminders_to_helpers:integer, created_date:time, modifi
ed_date:time"
我试过这个。它正在工作,但它创建了id
我想要一些 task_id的主键
但是当我尝试这个时,它给了我错误
equelize model:create --name tasks --force --attributes "task_id:{type:integer, primaryKey: true,autoIncrement:
true}, title:string,description:text, data_type:text, shift:string, date:date, start_time:time, end_time:time, type:string, location:string, visible_to_helpe
rs:date, reminders_to_helpers:integer, created_date:time, modified_date:time"
并且在所有小写字母的情况下也不起作用
谢谢
这是错误