Merge branch 'migration-version-fix' into 'master'

fixed duplicate version numbers in migrations

See merge request redactmanager/persistence-service!556
This commit is contained in:
Maverick Studer 2024-06-21 12:12:40 +02:00
commit aafe9fa31a

View File

@ -11,15 +11,15 @@ import lombok.extern.slf4j.Slf4j;
@Slf4j
@Setter
@Service
public class StorageToMongoMigration17 extends Migration {
public class StorageToMongoMigration18 extends Migration {
private final StorageToMongoCopyService storageToMongoCopyService;
private static final String NAME = "Migration for entity log storage from s3 to mongodb";
private static final long VERSION = 17;
private static final long VERSION = 18;
public StorageToMongoMigration17(StorageToMongoCopyService storageToMongoCopyService) {
public StorageToMongoMigration18(StorageToMongoCopyService storageToMongoCopyService) {
super(NAME, VERSION);
this.storageToMongoCopyService = storageToMongoCopyService;