Commit 5fbb379315276adf9da63d430ddfc6cfc7eb326f
1 parent
466b4ea3
Fix cassandra to SQL migrate service annotation
Showing
1 changed file
with
2 additions
and
0 deletions
... | ... | @@ -23,6 +23,7 @@ import org.springframework.stereotype.Service; |
23 | 23 | import org.thingsboard.server.common.data.EntityType; |
24 | 24 | import org.thingsboard.server.common.data.UUIDConverter; |
25 | 25 | import org.thingsboard.server.dao.cassandra.CassandraCluster; |
26 | +import org.thingsboard.server.dao.util.NoSqlAnyDao; | |
26 | 27 | import org.thingsboard.server.dao.util.SqlDao; |
27 | 28 | import org.thingsboard.server.service.install.EntityDatabaseSchemaService; |
28 | 29 | |
... | ... | @@ -42,6 +43,7 @@ import static org.thingsboard.server.service.install.migrate.CassandraToSqlColum |
42 | 43 | @Service |
43 | 44 | @Profile("install") |
44 | 45 | @SqlDao |
46 | +@NoSqlAnyDao | |
45 | 47 | @Slf4j |
46 | 48 | public class CassandraEntitiesToSqlMigrateService implements EntitiesMigrateService { |
47 | 49 | ... | ... |