[Migration] Migration probably shouldn't call migration script for current schema
See original GitHub issueThis is a…
[ ] Feature request
[ ] Regression (a behavior that used to work and stopped working in a new release)
[X] Bug report
[ ] Documentation issue or request
Description
When doing the upgrade from 1.6.9
to latest
, I am on 28
schema from 1.6.9, however the migration script for schema 28
is called during the upgrade:
07:38:23.766 Current database schema version: 28
07:38:23.799 Migrating to schema: 28
Migration to schema 28 ...
This migration will auto add split steps to integrations with implicit split configured
Migrating integration ':i-LeuOQBxh0156frqpBxYz' - adding explicit split step
Number of integrations migrated: 1
Migrated to schema 28 completed
Issue Analytics
- State:
- Created 4 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
[Proposal] New migrate primitives to resolve failed ... - GitHub
We could offer migrate primitives to resolve failed migrations. Fundamentally you have two options how to proceed, forward and backwards: fix ...
Read more >Why is migration script no longer being used for deployment
Migration scripts are intended to run only once against a specific target database, so if you've already run the deployment script on that ......
Read more >Rails migration: only for schema change or also for updating ...
The short version is, since migrations are only for schema changes, you wouldn't want to use them to change actual data in the...
Read more >Your migrations are bad and you should feel bad
This talk about making changes to the structure of your database. Schema changes, schema migrations, whatever you want to call them.
Read more >Managing Rails schema and data migrations without losing ...
Rails database migrations are extremely powerful, but can be a mess if we don't avoid the traps. This article outlines a boring way...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
imo rather start from
version + 1
here 😃https://github.com/syndesisio/syndesis/blob/720dbc5e32b200299535bcfe0cafb74883d6c9d8/app/server/cli/src/main/java/io/syndesis/server/cli/command/migrate/MigrateCommand.java#L100-L106
Closed via #5367