Skip to content

Commit 7c10506

Browse files
authored
Revert upgrader back to original SQL (#2853)
1 parent 3e90233 commit 7c10506

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/src/main/java/io/apicurio/registry/storage/impl/sql/upgrader/ProtobufCanonicalHashUpgrader.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ public class ProtobufCanonicalHashUpgrader implements IDbUpgrader {
4747
@Override
4848
public void upgrade(Handle dbHandle) throws Exception {
4949

50-
String sql = "SELECT c.contentId, c.content, c.canonicalHash, c.contentHash, c.artifactreferences"
50+
String sql = "SELECT c.contentId, c.content, c.canonicalHash, c.contentHash "
5151
+ "FROM versions v "
5252
+ "JOIN content c on c.contentId = v.contentId "
5353
+ "JOIN artifacts a ON v.tenantId = a.tenantId AND v.groupId = a.groupId AND v.artifactId = a.artifactId "

0 commit comments

Comments
 (0)