❯ grpcurl -plaintext -d '{}' localhost:50051 multieko2.table_definition.TableDefinition/GetProfileTree
{
  "profiles": [
    {
      "name": "default",
      "tables": [
        {
          "name": "2025_company_data1"
        }
      ]
    }
  ]
}
❯ grpcurl -plaintext -d '{
  "profile_name": "default",
  "table_name": "2025_company_data1",
  "data": {
    "firma": "ACME Corporation",
    "company_name": "ACME Corp",
    "textfield": "This is sample text",
    "textfield2": "Additional information",
    "textfield3": "More details",
    "headquarters_psc": "12345",
    "contact_phone": "123-456-7890",
    "office_address": "123 Main St, Springfield",
    "support_email": "support@acmecorp.com",
    "is_active": "true"
  }
}' localhost:50051 multieko2.tables_data.TablesData/PostTableData
{
  "success": true,
  "message": "Data inserted successfully",
  "insertedId": "1"
}
❯ psql -U multi_psql_dev -d multi_rust_dev
psql (17.2)
Type "help" for help.

multi_rust_dev=> \dt
                  List of relations
 Schema |        Name        | Type  |     Owner
--------+--------------------+-------+----------------
 public | 2025_company_data1 | table | multi_psql_dev
 public | _sqlx_migrations   | table | multi_psql_dev
 public | adresar            | table | multi_psql_dev
 public | profiles           | table | multi_psql_dev
 public | table_definitions  | table | multi_psql_dev
 public | uctovnictvo        | table | multi_psql_dev
(6 rows)

multi_rust_dev=> SELECT * FROM "2025_company_data1";

 id | deleted |      firma       | company_name |      textfield      |       textfield2       |  textfield3  | headquarters_psc | contact_phone |      office_address      |    support_email     | is_active | last_updated |          created_at
----+---------+------------------+--------------+---------------------+------------------------+--------------+------------------+---------------+--------------------------+----------------------+-----------+--------------+-------------------------------
  1 | f       | ACME Corporation | ACME Corp    | This is sample text | Additional information | More details | 12345            | 123-456-7890  | 123 Main St, Springfield | support@acmecorp.com | t         |              | 2025-03-03 16:25:29.464753+01
(1 row)

~
~
~
