Skip to content

Commit

Permalink
fix: update test
Browse files Browse the repository at this point in the history
Signed-off-by: Muhammad Aaqil <[email protected]>
  • Loading branch information
aaqilniz committed Jan 28, 2024
1 parent a7a5046 commit 4e05e55
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/discovery.js
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ function mixinDiscovery(PostgreSQL) {
results.map(function(r) {
// PostgreSQL returns ALWAYS in case the property is generated,
// otherwise it returns NEVER
if (r.generated === 'ALWAYS' | r.identityGenerated === 'ALWAYS') {
if (r.generated === 'ALWAYS' || r.identityGenerated === 'ALWAYS') {
r.generated = true;
} else {
r.generated = false;
Expand Down

0 comments on commit 4e05e55

Please sign in to comment.