Skip to content

Commit

Permalink
fix: Correcting filter logic to exclusionary AND.
Browse files Browse the repository at this point in the history
[#184197793]

Co-authored-by: Alex Rocha <alexr1@vmware.com>
  • Loading branch information
2 people authored and peterhaochen47 committed Jan 18, 2023
1 parent 8efdd8e commit fd15ce5
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
public class PostgresDbMigrationIntegrationTest extends DbMigrationIntegrationTestParent {

private String checkPrimaryKeyExists = "SELECT COUNT(*) FROM information_schema.KEY_COLUMN_USAGE WHERE TABLE_CATALOG = ? AND TABLE_NAME = LOWER(?) AND CONSTRAINT_NAME LIKE LOWER(?)";
private String getAllTableNames = "SELECT distinct TABLE_NAME from information_schema.KEY_COLUMN_USAGE where TABLE_CATALOG = ? and (TABLE_NAME != 'schema_version' OR TABLE_SCHEMA != 'pg_catalog')";
private String getAllTableNames = "SELECT distinct TABLE_NAME from information_schema.KEY_COLUMN_USAGE where TABLE_CATALOG = ? and TABLE_NAME != 'schema_version' AND TABLE_SCHEMA != 'pg_catalog'";
private String insertNewOauthCodeRecord = "insert into oauth_code(code) values('code');";
private String fetchColumnTypeFromTable = "SELECT udt_name FROM information_schema.columns WHERE table_name = ? and TABLE_SCHEMA = ? and column_name = ?";
private String fetchIsNullableFromTable = "SELECT is_nullable FROM information_schema.columns WHERE table_name = ? and TABLE_SCHEMA = ? and column_name = ?";
Expand Down

0 comments on commit fd15ce5

Please sign in to comment.