上面這些欄位設定好了之後,需要利用 sequelize.sync() 來讓Sequelize 幫你去資料庫把欄位建立起來,這個指令會回傳一個promise,所以要用 .then() 來 ...
確定! 回上一頁