cli icon indicating copy to clipboard operation
cli copied to clipboard

The Sequelize CLI

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

I just started using sequelize cli, having moved over from using PHP migrations. I was surprised to find that it doesn't seem possible to apply/undo a single migration file at...

feature

The CLI should support rails like migration generation á la: ``` sequelize migration:create --name=create-products ``` Which generates a new migration with a corresponding scaffold: ``` module.exports = { up: function(migration,...

feature

Version: 3.0.0 Usage scenario: We're using sequelize to do some automatic migration on our servers, by basically creating some default tables and values. For this we're using migration:generate and seed:generate....

feature

Offending line: https://github.com/sequelize/cli/blob/master/lib/helpers/init-helper.js#L76 Needs to use platform aware directory separators. Using `sequelize init` on Windows results in a broken `models/index.js` file.

bug

It should be possible to specify UUID, BIGINT etc with custom name for primary key ```bash $ sequelize model:generate --name User --attributes ID:bigint:primary ``` ```js { type: Datatypes.BIGINT, primaryKey: true...

feature

Hi! I'm having a minor issue related to the encoding of the files generated by commands like `db:seed:create`, for an example. As they aren't utf-8, when I include strings like...

feature

it would be nice to be able to specify a "migrationStorageTableSchema": "sequelize_meta" in the config that would be honored. PR coming.

feature

I'm setting up a new project with `sequelize` but am missing a safety feature that I had in `alembic` (migration library for Python's SQLAlchemy) and a Ruby gem that I...

feature

I have an idea of splitting migrations and seed tables, configs and migration files. We can only set config file and migrations folder.

feature