文件名称:cli:Sequelize CLI
文件大小:82KB
文件格式:ZIP
更新时间:2024-05-02 23:28:49
javascript schema-migrations migrations sequelize seeders
续集/ cli 命令行界面(CLI) 目录 安装 确保已安装 。 然后安装要在您的项目中使用的Sequelize CLI npm install --save-dev sequelize-cli 然后您应该能够使用以下命令运行CLI npx sequelize --help 用法 Sequelize CLI [Node: 10.21.0, CLI: 6.0.0, ORM: 6.1.0] sequelize < command> Commands: sequelize db:migrate Run pending migrations sequelize db:migrate:schema:timestamps:add Update migration table to have timestamps sequelize