cli
cli copied to clipboard
The Sequelize CLI
It would be great if `sequelize-cli` supports migrations in ESM way. ## What you are doing? ```js // db/migrations/20220924162319-create-test.js export async function up(queryInterface, Sequelize) { await queryInterface.createTable('test', { id: {...
## Feature Request I would like to develop a sql helper for migrate with sequelize-cli and run directly sql files (like a sql backup for example). I don't know if...
## What you are doing? I used `npx sequelize db:seed:all` to seed a database entry. If I try to create it in the project itself everything is working fine (see...
### Pull Request check-list - [x] Does `npm run test` pass with this change (including linting)? - [x] Does the description below contain a link to an existing issue (Closes...
## What you are doing? Sequelize has a parameter in it's constructor called `options` https://sequelize.org/api/v6/class/src/sequelize.js~sequelize#instance-constructor-constructor which has an item called `define` ([more on the define](https://sequelize.org/api/v6/class/src/model.js~model#static-method-init)) where additional items such as...
es5-ext has vulnerability [CVE-2024-27088](https://avd.aquasec.com/nvd/2024/cve-2024-27088/) update has been done on [es5-ext](https://togithub.com/medikoo/es5-ext/security/advisories/GHSA-4gmj-3p3h-gm8h) Is it possible to update sequelize to use 0.10.63 of es5-ext ?
Hi. Could you help me. Why sequalize doesn't save seeders state into database? I'm using next command ``` sequelize-cli --env=test db:seed:all --config=config/options.json --url=postgres://$POSTGRES_USER:$POSTGRES_PASSWORD@$DB_HOST:$DB_PORT/$POSTGRES_DB ``` file config/options.json ``` { "test": {...
- In this commit, I have modified the templates and made other related changes to add support for typescript projects. - The new changes I made, will automatically detect if...
## What I am doing? I'm using Sequelize-cli in a typescript project and it is not generating .ts files and I have to then update those files extensions and make...
## What you are doing? I need to run the migrations to create the tables in my database, currently my database is on an azure MySQL server, how do I...