Skip to content

How to rollback to a specific version #16

Answered by asimeonov
devstress asked this question in Q&A
Discussion options

You must be logged in to vote

Hi @devstress,

I'll assume that you are using Embedded resource scripts. So they that library is working is by comparing currently executing version against the version schema stored in the DbUp journal table. In order to revert the chenges from Scripts\Script0003 - Settings.sql and Scripts\Script0004 - Transform data.sql you need to remove them wither by removing the file or by removing them as an Embedded resource.
At the moment there is no manual way to remove them like in EF. In futre I can write a tool to do that.

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@devstress
Comment options

Answer selected by devstress
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants