Questions tagged [umzug]
21 questions
0
votes
1 answer
Sequelize umzug migrations Error: Invalid umzug storage
when I am run this code it showing error Invalid umzug storage.
the code are given bellow:
const { Umzug } = require('umzug');
const db = require('../../storage/models');
const umzug = new Umzug({
storage: 'Sequelize',
storageOptions: {
sequelize:…

sarfaraj pathan
- 9
- 2
0
votes
1 answer
Umzug Migration UP with Aws Lambda function not working
I have built a test app using nestjs + Sequelize ORM + docker database (as of now local). As per documentation, I am using umzug library and AWS Lambda SAM template and triggering lambda handler. Below is the code for it. Connection Pooling is…

Srikanth V M
- 672
- 5
- 14
- 31
0
votes
0 answers
SQLite working with Docker path volume but not with the named one
I have Node.js app which is using Sequelize ORM for working with SQLite DB and umzug library for migrations. App is containerized with Docker.
When I run my container like:
docker run -v /home/user/data:/app/data image:tag
everything is working…

Paul Ulibro
- 315
- 2
- 6
- 12
0
votes
1 answer
Circular dependencies when importing sequelize
I have an electron project where I have a set of class extending from an abstract class. The abstract class has an import of a sequelize instance and a model (not illustrated in the reproduction code below).
When compiled, my electron app works…

joeyj
- 535
- 1
- 6
- 22
0
votes
1 answer
umzug down method not running
I am trying to use umzug/sequelize but I can't run the down method at all. I am following this tutorial. I want to basically create migration files with up and down methods. The up method gets executed successfully but calling down does not all the…

Nie Selam
- 1,343
- 2
- 24
- 56
0
votes
1 answer
Sequilize/Umzug: where to store a state of a database schema?
So, I want to write an application which use some data migration. Where should I store a current state of db?
For example: I have a production server and my development machine. I wrote an application and 3 migrations for it. When I deploy the…

kharandziuk
- 12,020
- 17
- 63
- 121