Commit 70c3494c017dac3bf8c543d4df11fc1317cb1db8

Authored by YevhenBondarenko
1 parent 2b82223c

fix ts latest migration

... ... @@ -61,9 +61,6 @@ public class CassandraTsLatestToSqlMigrateService implements TsLatestMigrateServ
61 61 private static final int MAX_STR_V_LENGTH = 10000000;
62 62
63 63 @Autowired
64   - private EntityDatabaseSchemaService entityDatabaseSchemaService;
65   -
66   - @Autowired
67 64 private InsertLatestTsRepository insertLatestTsRepository;
68 65
69 66 @Autowired
... ... @@ -88,7 +85,6 @@ public class CassandraTsLatestToSqlMigrateService implements TsLatestMigrateServ
88 85 @Override
89 86 public void migrate() throws Exception {
90 87 log.info("Performing migration of latest timeseries data from cassandra to SQL database ...");
91   - entityDatabaseSchemaService.createDatabaseSchema(false);
92 88 try (Connection conn = DriverManager.getConnection(dbUrl, dbUserName, dbPassword)) {
93 89 conn.setAutoCommit(false);
94 90 for (CassandraToSqlTable table : tables) {
... ...