you can do it with
model:generate --name User --attributes 'login_method:enum:{google,facebook}'
Another good example is:
npx sequelize-cli model:generate --name devicelogs --attributes 'type:enum:{embedded,console,wearable,smarttv,browser,tablet,mobile}','browser:enum:{Chrome,Firefox,Safari,Opera,Internet Explorer,Edge,Edge Chromium,Yandex,Chromium,Mobile Safari,Samsung Browser}'
from sequelize-cli code you can also try
- first_name:string,last_name:string,bio:text,role:enum:{Admin, 'Guest User'},reviews:array:string
- 'first_name:string, last_name:string, bio:text, role:enum:{Admin, Guest User} reviews:array:string'