Run update steps only if they have not been run before

This commit is contained in:
René Pfeuffer
2019-05-14 15:52:05 +02:00
parent bafc8ea668
commit 93dbaeae7c
7 changed files with 177 additions and 82 deletions

View File

@@ -1,10 +1,13 @@
package sonia.scm.migration;
import sonia.scm.plugin.ExtensionPoint;
import sonia.scm.version.Version;
@ExtensionPoint
public interface UpdateStep {
void doUpdate();
String getTargetVersion();
Version getTargetVersion();
String affectedDataType();
}