working fetch of the columns properly well, but the rest doesnt

This commit is contained in:
filipriec
2025-02-21 12:27:51 +01:00
parent e52e287c32
commit 6112fa0b0c
6 changed files with 164 additions and 213 deletions

View File

@@ -8,12 +8,6 @@ pub async fn get_table_structure(
_request: Empty,
) -> Result<TableStructureResponse, Status> {
let columns = vec![
TableColumn {
name: "id".to_string(),
data_type: "BIGSERIAL".to_string(),
is_nullable: false,
is_primary_key: true,
},
TableColumn {
name: "firma".to_string(),
data_type: "TEXT".to_string(),