mirror of
https://github.com/open-metadata/OpenMetadata.git
synced 2025-08-01 21:57:55 +00:00
parent
a3ceea6b63
commit
52abe152cd
@ -92,7 +92,7 @@ public class DatabaseSchemaRepository extends EntityRepository<DatabaseSchema> {
|
||||
if (schema == null) {
|
||||
return null;
|
||||
}
|
||||
List<String> tableIds = findTo(schema.getId(), Entity.DATABASE, Relationship.CONTAINS, Entity.TABLE);
|
||||
List<String> tableIds = findTo(schema.getId(), Entity.DATABASE_SCHEMA, Relationship.CONTAINS, Entity.TABLE);
|
||||
return EntityUtil.populateEntityReferences(tableIds, Entity.TABLE);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user