Package org.cyclos.db.migrations.v4_13
Class FixDuplicatedAccountsMigration
- java.lang.Object
-
- org.cyclos.db.BaseMigration
-
- org.cyclos.db.migrations.v4_13.FixDuplicatedAccountsMigration
-
- All Implemented Interfaces:
Migration
- Direct Known Subclasses:
FixDuplicatedAccountsV1Migration,FixDuplicatedAccountsV2Migration
public abstract class FixDuplicatedAccountsMigration extends BaseMigration
Remove duplicated accounts (for the same user and type pair) and move all related data to point to the 'true' unique account. This problem was reported by TrustPay (CYCLOS-8297)
-
-
Field Summary
-
Fields inherited from class org.cyclos.db.BaseMigration
cyclosProperties, jdbcTemplate
-
-
Constructor Summary
Constructors Constructor Description FixDuplicatedAccountsMigration()
-
Method Summary
All Methods Instance Methods Abstract Methods Concrete Methods Modifier and Type Method Description protected abstract List<String>getTablesToUpdate()intrun()Apply the migration, returning the total number of affected records-
Methods inherited from class org.cyclos.db.BaseMigration
initialize, inPlaceholders, inPlaceholders, inPlaceholders
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface org.cyclos.db.Migration
getAffectedMessage
-
-