Skip to content

Commit b9551ff

Browse files
committed
fix: Updates the order of the type_id from name.schema to schema.name
1 parent dffc66d commit b9551ff

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

dist/lib/sql/types/list.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SELECT
2-
(t.typname || '.' || n.nspname) as type_id,
2+
(n.nspname || '.'|| t.typname) as type_id,
33
t.typname AS name,
44
n.nspname as schema,
55
pg_catalog.Format_type ( t.oid, NULL ) AS format,

src/lib/sql/types/list.sql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
SELECT
2-
(t.typname || '.' || n.nspname) as type_id,
2+
(n.nspname || '.'|| t.typname) as type_id,
33
t.typname AS name,
44
n.nspname as schema,
55
pg_catalog.Format_type ( t.oid, NULL ) AS format,

0 commit comments

Comments
 (0)