diff options
Diffstat (limited to 'java/com/google/gerrit/server/schema/Schema_139.java')
-rw-r--r-- | java/com/google/gerrit/server/schema/Schema_139.java | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/java/com/google/gerrit/server/schema/Schema_139.java b/java/com/google/gerrit/server/schema/Schema_139.java index cdde7e4b22..cd018b7cbe 100644 --- a/java/com/google/gerrit/server/schema/Schema_139.java +++ b/java/com/google/gerrit/server/schema/Schema_139.java @@ -81,7 +81,7 @@ public class Schema_139 extends SchemaVersion { ResultSet rs = stmt.executeQuery( "SELECT " - + "account_id, " + + "account_project_watches.account_id, " + "project_name, " + "filter, " + "notify_abandoned_changes, " @@ -89,7 +89,8 @@ public class Schema_139 extends SchemaVersion { + "notify_new_changes, " + "notify_new_patch_sets, " + "notify_submitted_changes " - + "FROM account_project_watches")) { + + "FROM account_project_watches " + + "JOIN accounts ON account_project_watches.account_id=accounts.account_id")) { while (rs.next()) { Account.Id accountId = new Account.Id(rs.getInt(1)); ProjectWatch.Builder b = |