mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-23 16:59:48 +01:00
Run update steps only if they have not been run before
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user