cli icon indicating copy to clipboard operation
cli copied to clipboard

The Sequelize CLI

Results 139 cli issues
Sort by recently updated
recently updated
newest added

## What you are doing? I'm trying to run the migration scripts after `createdAt`and `updatedAt` columns are added to the migration table. ```bash sequelize db:migrate:status sequelize db:migrate --to migration1.js sequelize...

Installed per the docs, node 14.x, getting: `npx sequelize --help` `Unable to resolve sequelize package in /current/dir/here`

sequelize/sequelize#11950 Issue Description Using the new v6.1.1 sequelize and the accompanying sequelize-cli, I get an error trying to do anything. Error is: SyntaxError: Unexpected token 'export' ### What are you...

### 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)? - [...

## Issue Creation Checklist - [x ] I understand that my issue will be automatically closed if I don't fill in the requested information - [x] I have read the...

## Issue Creation Checklist [X] I have read the [contribution guidelines](https://github.com/sequelize/sequelize/blob/main/CONTRIBUTING.md) ## Issue Description I'm running the migration command as suggested in the [documentation](https://sequelize.org/docs/v6/other-topics/migrations/#configuration-connection-string), it is an alternative to the...

type: docs

So I'm using the latest cli and latest sequelize. Originally I had my migration file look like this: ``` javascript 'use strict'; module.exports = { up: function (queryInterface, Sequelize) {...

bug

ERROR: Error reading "src/core/database/config.ts". Error: TypeError [ERR_UNKNOWN_FILE_EXTENSION]: Unknown file extension ".ts" for /Users/../src/core/database/config.ts ## I'm trying to migrate db with npx sequelize-cli db:migrate command, but it throws the above exception....

I setup sequelize using `sequelize-cli` which generated below file, ``` const fs = require('fs'); const path = require('path'); const { Sequelize } = require('sequelize'); const basename = path.basename(__filename); const env...

Add on to #265 #635 ## What you are doing? **I'm trying to run migration scripts with less privilege user which doesn't have permission to create or drop schema** ```js...