mirror of
https://github.com/dadosfera/maestro.git
synced 2026-10-14 14:59:07 +00:00
FIX: added reference columns on get table metadata connection test
This commit is contained in:
@@ -13,6 +13,8 @@ export class TableMetadataDto {
|
||||
table_name: string;
|
||||
@ApiProperty({ type: [ColumnDto] })
|
||||
columns: ColumnDto[];
|
||||
@ApiProperty({ type: [ColumnDto] })
|
||||
references: ColumnDto[];
|
||||
}
|
||||
|
||||
export class ConnectionTestPingReq {
|
||||
@@ -118,6 +120,8 @@ export class GetTableMetadataReq {
|
||||
}
|
||||
|
||||
export class GetTableMetadataRes {
|
||||
@ApiProperty()
|
||||
operation_result: boolean;
|
||||
@ApiProperty({ type: [TableMetadataDto] })
|
||||
tables_metadata: TableMetadataDto[];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user