sequelize-auto-migrations icon indicating copy to clipboard operation
sequelize-auto-migrations copied to clipboard

Migration generator && runner for sequelize

Results 58 sequelize-auto-migrations issues
Sort by recently updated
recently updated
newest added

Hy there, I use sequelize in an existing project which forces me to put everything that is not configuration in a src folder. ``` - package.json + config -- config_sequelize.json...

Each migration should ideally run in a transaction, to avoid a situation of a migration being partially applied.

It makes the generated migration cleaner when you change two attributes of a column.

- Wrap migration in transaction - Add option to run without transaction - Update README Fixes #52 The new version is backwards compatible and can run old migrations.

- Generate rollback command when creating migration - Add rollback option to runmigration - Update README NOTE: I authored this commit on top of the transaction PR (#56). So if...

When there is a validate object defined, even though nothing has changed for any column, any table. A change will be detected. ![image](https://user-images.githubusercontent.com/2614565/52744651-4a103500-2fab-11e9-989d-3f50f93fa265.png) Put in a similar PR to fix...

Hi I looked into Thedeceptio's pull request about logging the migrations on the sequelizeMeta table but did not work due to several asynchronous bugs, I went ahead and fixed all...

I have a model that blows up a diff migration because of a model with 2 indexes that haven't changed. It gets picked up as a diff but in the...

We use `ARRAY` types and are testing out using `sequelize-auto-migrations`. `ARRAY` types don't generate correctly. Minimal repro below: 1. Define a new schema that uses an ARRAY type ``` 'use...