cli
cli copied to clipboard
The Sequelize CLI
Ref code: https://github.com/sequelize/cli/blob/54ec29d65727873f88d0daa50e5e92ef7d00a4b8/src/helpers/view-helper.js#L38 Currently an error logs the message property of the "ERROR". ``` console.error(`${_cliColor2.default.red('ERROR:')} ${message}`); ``` In the case of an error, you get something like ``` SequelizeForeignKeyConstraintError: insert...
This issue lists Renovate updates and detected dependencies. Read the [Dependency Dashboard](https://docs.renovatebot.com/key-concepts/dashboard/) docs to learn more. ## Open These updates have all been created already. Click a checkbox below to...
Updates the minor/patch versions of dependencies in package.json as well. They were already updated in yarn.lock Closes #1105 Closes #1135
[![Mend Renovate](https://app.renovatebot.com/images/banner.svg)](https://renovatebot.com) This PR contains the following updates: | Update | Change | |---|---| | lockFileMaintenance | All locks refreshed | 🔧 This Pull Request updates lock files to use...
Since coffeescript is supported, i think it would be cool to have a typescript support also. **Expectation:** `run node_modules/sequelize-cli/bin/sequelize model:create --name Collection --attributes id:integer,name:string --typescript` Will produce a model which...
## Issue Description 'Error: Dialect needs to be explicitly supplied as of v4.0.0' is thrown when initialising sequelize via a destructured property whilst running 'npx sequelize-cli db:migrate'. ### What are...
[js-beautify](https://www.npmjs.com/package/js-beautify) is a reformat and re-indent bookmarklets, ugly JavaScript, unpack scripts packed by Dean Edward’s popular packer, as well as partly deobfuscate scripts processed by the npm package "javascript-obfuscator". Affected...
## What you are doing? I have a .ts config for database connection which used to work for version 6.2.0 and below. Since I upgraded to latest version, cli can't...
Some other migration frameworks such as [node-db-migrate](https://github.com/db-migrate/node-db-migrate) offer a `--dry-run` option. This simply prints out all the SQL statements that would be run, but does not actually touch the database....
Adding a little bit more information when writing cli command for writing attributes fields in generating model ### Pull Request check-list _Please make sure to review and check all of...