Comments (6)
When running down("smth") and afterwards up("smth") where would that put the executed migration? At the topmost position or at the position where it used to be?
from umzug.
Good question.
from umzug.
Also, let's assume we have these migrations 5 migrations.
When I run up('migration-nr-3')
and afterwards up()
(which runs all pending migrations), will the result of executed()
be 3,1,2,4,5 ?
from umzug.
@sdepold i assume so.
from umzug.
Alright. Then it would make sense to have down('smth')
+ up('smth')
behave like this:
up()
executed() // 1,2,3,4,5
down('3')
executed() // 1,2,4,5
up('3')
executed() // 1,2,4,5,3
opinion?
from umzug.
Yeah makes sense. The latest run migration should probably be the latest run ;)
from umzug.
Related Issues (20)
- rerun SKIP does not work when using to and sequelize storage HOT 2
- create options template with async method HOT 3
- CLI not responding HOT 3
- Password revealed if migration step fails HOT 6
- Create tables with schema from sequelize config HOT 1
- When re-running a migration with SequelizeStorage it throws SequelizeUniqueConstraintError HOT 2
- Update to V3 of umzug does not appear to have compatible @types/umzug HOT 7
- Example migration not working HOT 5
- Alter colum or drop colum migration in SQLITE generates a new table without onUpdate and onDelete configurations HOT 2
- Migrate to ESM-first HOT 16
- Issue with identifying migration files as input to umzug instance HOT 1
- SequelizeStorage model uses options that are rejected by sequelize v7 + postgres et al HOT 5
- Breaking change in v3.3.0 HOT 5
- Migration timeouts HOT 1
- `RunAsCLI()` swallows exceptions HOT 4
- UP ALLOW not working correctly HOT 1
- Do not set charset and collate options on postgresql HOT 12
- mjs extension support HOT 1
- Snyk find issue in [email protected] > [email protected] > [email protected] HOT 2
- Update `type-fest` to `^4.10.2` to ensure compatibility with TypeScript 5.4 HOT 1
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 umzug.