@@ -18,7 +18,7 @@ export namespace Roles {
18
18
}
19
19
20
20
export interface Grant {
21
- table_id : string
21
+ table_id : number
22
22
grantor : string
23
23
grantee : string
24
24
catalog : string
@@ -32,6 +32,7 @@ export namespace Roles {
32
32
33
33
export namespace Schemas {
34
34
export interface Schema {
35
+ id : number
35
36
catalog_name : string
36
37
name : string
37
38
owner : string
@@ -44,7 +45,7 @@ export namespace Schemas {
44
45
45
46
export namespace Tables {
46
47
export interface Table {
47
- table_id : string
48
+ id : string
48
49
catalog : string
49
50
schema : string
50
51
name : string
@@ -81,19 +82,19 @@ export namespace Tables {
81
82
}
82
83
83
84
export interface Column {
85
+ table_id : number
84
86
schema : string
85
87
table : string
88
+ ordinal_position : number
86
89
name : string
87
90
default_value : string | null
88
- is_identity : boolean
89
- is_nullable : boolean
90
- is_updatable : boolean
91
91
data_type : string
92
92
format : string
93
- identity_generation : string | null
94
- table_id : string
95
93
description : string | null
96
- enums : string [ ]
94
+ is_identity : boolean
95
+ identity_generation : string | null
96
+ is_nullable : boolean
97
+ is_updatable : boolean
97
98
}
98
99
99
100
export interface PrimaryKey {
@@ -104,11 +105,9 @@ export namespace Tables {
104
105
}
105
106
106
107
export interface Relationship {
107
- source_table_id : string
108
108
source_schema : string
109
109
source_table_name : string
110
110
source_column_name : string
111
- target_table_id : string
112
111
target_table_schema : string
113
112
target_table_name : string
114
113
target_column_name : string
@@ -118,7 +117,7 @@ export namespace Tables {
118
117
119
118
export namespace Types {
120
119
export interface Type {
121
- type_id : string
120
+ id : number
122
121
name : string
123
122
schema : string
124
123
format : string
0 commit comments