cli
cli copied to clipboard
The Sequelize CLI
## What you are doing? Attempting to connect to an SSL enabled db, using a provided configuration file. `config.js` ```js module.exports = { "postgres://myuser:[email protected]:5432/mydb", { "ssl": true, "dialectOptions": { "ssl":...
## What you are doing? When running a migration init from the sequelize-cli itself, the collation always defaults to latin_ci for all tables, even if overridden using the config.json file....
Does `sequelize model:generate` support for "NOT_NULL"? Expect to happen: ```bash sequelize model:generate --name phones --attributes number:string:NOT_NULL,created_at:date ``` ```js // models/phones.js module.exports = (sequelize, DataTypes) => { const model = sequelize.define(...
Fix/#157
Issue: #157 Desc: Adding a verification file if has extension TS or JS to migrate with skeleton
## What you are doing? Dialect specified in configuration is ignored when using a connection URL and invoking `db:drop` or `db:create`. I have a configuration which specifies urls using `postgresql://`...
### Pull Request check-list _Please make sure to review and check all of these items:_ - [ ] Does `npm run test` pass with this change (including linting)? - [...
I want to use a config file to set seed task's options, like bellow: sequelize db:seed:all --config ./config/sequelize.js I expected that the CLI would use config options from the file...
### Pull Request check-list _Please make sure to review and check all of these items:_ - [x] Does `npm run test` pass with this change (including linting)? - [ ]...
## Description Currently we must use `--seed` tag to specify the name of the file we want to seed, it's pain because we must copy the filename and paste it,...
I know this has been discussed before, but it would be really helpful if sequelize could auto-create migration scripts based on differences in sequelizer and the database. I currently have...