Comments (1)
My workaround was to add the env var when calling the program through cmd:
set PWD=C:\Users\[Whatever_path]&& node .\node_modules\sequelize-auto-migrations\bin\makemigration --name test
Note that there's no space between the path and the "&&". That's important
Not the ideal solution, but it lets you avoid editing the lib code
from sequelize-auto-migrations.
Related Issues (20)
- addColumn/removeColumn do not support schemas other than public
- Does not pick up model details with Sequelize 5.x installed HOT 8
- How to migrate to production HOT 1
- migrate.js crash on index change
- Sequelize.CITEXT generates Sequelize.undefined - add support for CITEXT HOT 1
- Wrap migrations in transaction HOT 3
- 'No changes found' for first migration HOT 4
- Does not recognize custom folder position HOT 3
- Is this package dead? HOT 9
- Upgrade to sequelize >5.8.11 to fix vulnerability HOT 7
- Get empty params when makemigration HOT 4
- Release New Version on NPM
- Add support for column type JSON
- Doesn't generate field information HOT 7
- Class constructor cannot be invoked without new
- db:makemigrations not working HOT 6
- runmigration fails with UNIQUE KEY `PRIMARY` index
- Is it possible to tell the package where to look for the models folder? HOT 1
- NEW MAINTAINER - active fork, new repo name, & plans HOT 3
- Create SequelizeMeta table error
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from sequelize-auto-migrations.