mirror of
https://github.com/directus/directus.git
synced 2026-01-25 12:07:56 -05:00
Fix server error when a postgres view contains geometry columns (#7487)
* Fix server error when a postgres view contains geometry columns * Fixed typo Co-authored-by: Rijk van Zanten <rijkvanzanten@me.com>
This commit is contained in:
@@ -58,7 +58,7 @@ export default class Postgres extends KnexPostgres implements SchemaInspector {
|
||||
, f_geometry_column as column_name
|
||||
, type as data_type
|
||||
FROM geometries g
|
||||
JOIN information_schema.tables
|
||||
JOIN information_schema.tables t
|
||||
ON g.f_table_name = t.table_name
|
||||
AND t.table_type = 'BASE TABLE'
|
||||
WHERE f_table_schema in (?)
|
||||
|
||||
Reference in New Issue
Block a user