@@ -18,7 +18,7 @@ export namespace Roles {
1818 }
1919
2020 export interface Grant {
21- table_id : string
21+ table_id : number
2222 grantor : string
2323 grantee : string
2424 catalog : string
@@ -32,6 +32,7 @@ export namespace Roles {
3232
3333export namespace Schemas {
3434 export interface Schema {
35+ id : number
3536 catalog_name : string
3637 name : string
3738 owner : string
@@ -44,7 +45,7 @@ export namespace Schemas {
4445
4546export namespace Tables {
4647 export interface Table {
47- table_id : string
48+ id : string
4849 catalog : string
4950 schema : string
5051 name : string
@@ -81,19 +82,19 @@ export namespace Tables {
8182 }
8283
8384 export interface Column {
85+ table_id : number
8486 schema : string
8587 table : string
88+ ordinal_position : number
8689 name : string
8790 default_value : string | null
88- is_identity : boolean
89- is_nullable : boolean
90- is_updatable : boolean
9191 data_type : string
9292 format : string
93- identity_generation : string | null
94- table_id : string
9593 description : string | null
96- enums : string [ ]
94+ is_identity : boolean
95+ identity_generation : string | null
96+ is_nullable : boolean
97+ is_updatable : boolean
9798 }
9899
99100 export interface PrimaryKey {
@@ -104,11 +105,9 @@ export namespace Tables {
104105 }
105106
106107 export interface Relationship {
107- source_table_id : string
108108 source_schema : string
109109 source_table_name : string
110110 source_column_name : string
111- target_table_id : string
112111 target_table_schema : string
113112 target_table_name : string
114113 target_column_name : string
@@ -118,7 +117,7 @@ export namespace Tables {
118117
119118export namespace Types {
120119 export interface Type {
121- type_id : string
120+ id : number
122121 name : string
123122 schema : string
124123 format : string
0 commit comments