Skip to content

Commit

Permalink
DAT-18828
Browse files Browse the repository at this point in the history
Rework last change
  • Loading branch information
wwillard7800 committed Jan 6, 2025
1 parent 66d503f commit 9966784
Showing 1 changed file with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -17,13 +17,14 @@ public class BigQueryChangedTableChangeGenerator extends ChangedTableChangeGener

@Override
public int getPriority(Class<? extends DatabaseObject> objectType, Database database) {
if (! (database instanceof BigQueryDatabase)) {
return PRIORITY_NONE;
}
int priority = super.getPriority(objectType, database);
if (priority == PRIORITY_NONE) {
return priority;
}
if (database instanceof BigQueryDatabase) {
priority += PRIORITY_DATABASE;
}
priority += PRIORITY_DATABASE;
return priority;
}

Expand Down

0 comments on commit 9966784

Please sign in to comment.